ReportingService2010.GetItemHistoryOptions Méthode

Définition

Retourne les propriétés et l'option d'instantané d'historique d'élément générées pour un élément de catalogue. Cette méthode s'applique au type d'élément de Report.

public:
 bool GetItemHistoryOptions(System::String ^ ItemPath, [Runtime::InteropServices::Out] bool % KeepExecutionSnapshots, [Runtime::InteropServices::Out] ReportService2010::ScheduleDefinitionOrReference ^ % Item);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryOptions", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public bool GetItemHistoryOptions (string ItemPath, out bool KeepExecutionSnapshots, out ReportService2010.ScheduleDefinitionOrReference Item);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryOptions", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.GetItemHistoryOptions : string * bool * ScheduleDefinitionOrReference -> bool
Public Function GetItemHistoryOptions (ItemPath As String, ByRef KeepExecutionSnapshots As Boolean, ByRef Item As ScheduleDefinitionOrReference) As Boolean

Paramètres

ItemPath
String

URL complète de l'élément, y compris le nom du fichier et, en mode SharePoint, l'extension.

KeepExecutionSnapshots
Boolean

[out] Expression Boolean qui indique si l'historique d'élément est collecté pour l'élément. La valeur par défaut est false.

Retours

true si l'historique d'élément est collecté pour l'élément ; sinon, false.

Attributs

Remarques

Le tableau suivant présente les informations relatives aux en-têtes et aux autorisations sur cette opération.

Utilisation de l’en-tête SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Autorisations requises en mode natif ReadPolicy
Autorisations requises en mode SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

S’applique à