Méthode GetReportHistoryOptions

Retourne les propriétés et l'option d'instantané d'historique de rapport générées pour un rapport.

Espace de noms :  ReportService2006
Assembly :  ReportService2006 (en ReportService2006.dll)

Syntaxe

'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryOptions", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Function GetReportHistoryOptions ( _
    Report As String, _
    <OutAttribute> ByRef KeepExecutionSnapshots As Boolean, _
    <OutAttribute> ByRef Item As ScheduleDefinitionOrReference _
) As Boolean
'Utilisation
Dim instance As ReportingService2006
Dim Report As String
Dim KeepExecutionSnapshots As Boolean
Dim Item As ScheduleDefinitionOrReference
Dim returnValue As Boolean

returnValue = instance.GetReportHistoryOptions(Report, _
    KeepExecutionSnapshots, Item)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryOptions", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public bool GetReportHistoryOptions(
    string Report,
    out bool KeepExecutionSnapshots,
    out ScheduleDefinitionOrReference Item
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryOptions", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
bool GetReportHistoryOptions(
    String^ Report, 
    [OutAttribute] bool% KeepExecutionSnapshots, 
    [OutAttribute] ScheduleDefinitionOrReference^% Item
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryOptions", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member GetReportHistoryOptions : 
        Report:string * 
        KeepExecutionSnapshots:bool byref * 
        Item:ScheduleDefinitionOrReference byref -> bool 
public function GetReportHistoryOptions(
    Report : String, 
    KeepExecutionSnapshots : boolean, 
    Item : ScheduleDefinitionOrReference
) : boolean

Paramètres

  • KeepExecutionSnapshots
    Type : System. . :: . .Boolean%
    [out] Expression de type Boolean qui indique si les instantanés d'exécution des rapports sont collectés pour l'historique de rapport. La valeur par défaut est false.

Valeur de retour

Type : System. . :: . .Boolean
True si l'historique de rapport est collecté pour le rapport ; sinon, False.

Notes

The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ViewListItems()()()()