ReportingService2010.GetItemHistoryOptions Method

Returns the item history snapshot option and properties that are generated for a catalog item. This method applies to the Report item type.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)


<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
    ResponseNamespace := "",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetItemHistoryOptions ( _
    ItemPath As String, _
    <OutAttribute> ByRef KeepExecutionSnapshots As Boolean, _
    <OutAttribute> ByRef Item As ScheduleDefinitionOrReference _
) As Boolean
Dim instance As ReportingService2010 
Dim ItemPath As String 
Dim KeepExecutionSnapshots As Boolean 
Dim Item As ScheduleDefinitionOrReference 
Dim returnValue As Boolean 

returnValue = instance.GetItemHistoryOptions(ItemPath, _
    KeepExecutionSnapshots, Item)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public bool GetItemHistoryOptions(
    string ItemPath,
    out bool KeepExecutionSnapshots,
    out ScheduleDefinitionOrReference Item
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"", RequestNamespace = L"", 
    ResponseNamespace = L"", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
bool GetItemHistoryOptions(
    String^ ItemPath, 
    [OutAttribute] bool% KeepExecutionSnapshots, 
    [OutAttribute] ScheduleDefinitionOrReference^% Item
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member GetItemHistoryOptions : 
        ItemPath:string * 
        KeepExecutionSnapshots:bool byref * 
        Item:ScheduleDefinitionOrReference byref -> bool
public function GetItemHistoryOptions(
    ItemPath : String, 
    KeepExecutionSnapshots : boolean, 
    Item : ScheduleDefinitionOrReference
) : boolean


  • ItemPath
    Type: System.String
    The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.
  • KeepExecutionSnapshots
    Type: System.Boolean%
    [out] A Boolean expression indicating whether item history is collected for the item. The default value is false.

Return Value

Type: System.Boolean
true if item history is collected for the item; otherwise, false.


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

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions


SharePoint Mode Required Permissions


See Also


ReportingService2010 Class

ReportService2010 Namespace