Compartir a través de


ReportingService2010.ListItemHistory Método

Returns a list of item history snapshots and their properties for a specified catalog item. This method applies to the Report item type.

Espacio de nombres:  ReportService2010
Ensamblado:  ReportService2010 (en ReportService2010.dll)

Sintaxis

'Declaración
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListItemHistory", RequestNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
Public Function ListItemHistory ( _
    ItemPath As String _
) As ItemHistorySnapshot()
'Uso
Dim instance As ReportingService2010 
Dim ItemPath As String 
Dim returnValue As ItemHistorySnapshot()

returnValue = instance.ListItemHistory(ItemPath)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListItemHistory", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
public ItemHistorySnapshot[] ListItemHistory(
    string ItemPath
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListItemHistory", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
public:
array<ItemHistorySnapshot^>^ ListItemHistory(
    String^ ItemPath
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListItemHistory", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
member ListItemHistory : 
        ItemPath:string -> ItemHistorySnapshot[] 
public function ListItemHistory(
    ItemPath : String
) : ItemHistorySnapshot[]

Parámetros

  • ItemPath
    Tipo: System.String
    The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.

Valor devuelto

Tipo: array<ReportService2010.ItemHistorySnapshot[]
An array of ItemHistorySnapshot objects that represent the item history snapshots of the item.

Comentarios

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

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

ListHistory

SharePoint Mode Required Permissions

ViewVersions

Vea también

Referencia

ReportingService2010 Clase

Espacio de nombres ReportService2010