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

定义

返回为目录项生成的项历史记录快照选项和属性。 Returns the item history snapshot option and properties that are generated for a catalog item. 此方法适用于Report项目类型。 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
参数
ItemPath
String String String

项的完全限定 URL,其中包括文件名(在 SharePoint 模式下,还有扩展名)。 The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.

KeepExecutionSnapshots
Boolean Boolean Boolean

[out]A Boolean ,该值指示是否为项收集项历史记录的表达式。 [out] A Boolean expression indicating whether item history is collected for the item. 默认值是 false The default value is false.

返回

true 如果为项; 收集项的历史记录否则为false true if item history is collected for the item; otherwise, false.

注解

下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.

SOAP 标头使用情况SOAP Header Usage (In) TrustedUserHeaderValue(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
纯模式所需的权限Native Mode Required Permissions ReadPolicy
SharePoint 模式所需的权限SharePoint Mode Required Permissions ViewListItems

适用于