ReportingService2010.GetItemHistoryOptions(String, Boolean, ScheduleDefinitionOrReference) ReportingService2010.GetItemHistoryOptions(String, Boolean, ScheduleDefinitionOrReference) ReportingService2010.GetItemHistoryOptions(String, Boolean, ScheduleDefinitionOrReference) Method

Definition

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

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);
Public Function GetItemHistoryOptions (ItemPath As String, ByRef KeepExecutionSnapshots As Boolean, ByRef Item As ScheduleDefinitionOrReference) As Boolean
Parameters
ItemPath
String String String

The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.

KeepExecutionSnapshots
Boolean Boolean Boolean

[out] A Boolean expression indicating whether item history is collected for the item. The default value is false.

Returns

true if item history is collected for the item; otherwise, false.

Remarks

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

SOAP Header Usage (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions ReadPolicy
SharePoint Mode Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Applies to