ReportingService2010.ListItemHistory(String) Méthode

Définition

Retourne une liste d'instantanés d'historique d'élément et leurs propriétés pour un élément de catalogue spécifié. Cette méthode s'applique au type d'élément de Report.

public:
 cli::array <ReportService2010::ItemHistorySnapshot ^> ^ ListItemHistory(System::String ^ ItemPath);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListItemHistory", 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 ReportService2010.ItemHistorySnapshot[] ListItemHistory (string ItemPath);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListItemHistory", 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.ListItemHistory : string -> ReportService2010.ItemHistorySnapshot[]
Public Function ListItemHistory (ItemPath As String) As ItemHistorySnapshot()

Paramètres

ItemPath
String

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

Retours

Tableau d'objets ItemHistorySnapshot qui représentent les instantanés d'historique d'élément de l'élément.

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 ListHistory
Autorisations requises en mode SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ViewVersions>

S’applique à