Share via


ReportingService2010.GetItemHistoryOptions メソッド

定義

カタログ アイテムで生成されたアイテム履歴スナップショット オプションとプロパティを返します。 このメソッドは、アイテムの種類 Report に適用されます。

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);
[<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")>]
member this.GetItemHistoryOptions : string * bool * ScheduleDefinitionOrReference -> bool
Public Function GetItemHistoryOptions (ItemPath As String, ByRef KeepExecutionSnapshots As Boolean, ByRef Item As ScheduleDefinitionOrReference) As Boolean

パラメーター

ItemPath
String

ファイル名と拡張子 (SharePoint モードの場合) を含む、アイテムの完全修飾 URL です。

KeepExecutionSnapshots
Boolean

[out] アイテムでアイテム履歴を収集するかどうかを示す Boolean 式です。 既定値は false です。

Item
ScheduleDefinitionOrReference

[out] ScheduleDefinitionOrReference オブジェクト、ScheduleDefinition オブジェクト、または ScheduleReference オブジェクトを表す NoSchedule オブジェクトです。

戻り値

アイテムでアイテム履歴を収集する場合は true、収集しない場合は false です。

属性

注釈

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダーの使用方法 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
ネイティブ モードで必要なアクセス許可 ReadPolicy
SharePoint モードで必要なアクセス許可 <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

適用対象