GetItemHistoryOptions メソッド
カタログ アイテムで生成されたアイテム履歴スナップショット オプションとプロパティを返します。このメソッドは、アイテムの種類 Report に適用されます。
名前空間: ReportService2010
アセンブリ: ReportService2010 (ReportService2010.dll)
構文
'宣言
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryOptions", 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)> _
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)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryOptions", 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)]
public bool GetItemHistoryOptions(
string ItemPath,
out bool KeepExecutionSnapshots,
out ScheduleDefinitionOrReference Item
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryOptions", 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)]
public:
bool GetItemHistoryOptions(
String^ ItemPath,
[OutAttribute] bool% KeepExecutionSnapshots,
[OutAttribute] ScheduleDefinitionOrReference^% Item
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryOptions", 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)>]
member GetItemHistoryOptions :
ItemPath:string *
KeepExecutionSnapshots:bool byref *
Item:ScheduleDefinitionOrReference byref -> bool
public function GetItemHistoryOptions(
ItemPath : String,
KeepExecutionSnapshots : boolean,
Item : ScheduleDefinitionOrReference
) : boolean
パラメーター
- ItemPath
型: System. . :: . .String
ファイル名と拡張子 (SharePoint モードの場合) を含む、アイテムの完全修飾 URL です。
- KeepExecutionSnapshots
型: System. . :: . .Boolean%
[out] アイテムでアイテム履歴を収集するかどうかを示す Boolean 式です。既定値は false です。
- Item
型: ReportService2010. . :: . .ScheduleDefinitionOrReference%
[out] ScheduleDefinition オブジェクト、ScheduleReference オブジェクト、または NoSchedule オブジェクトを表す ScheduleDefinitionOrReference オブジェクトです。
戻り値
型: System. . :: . .Boolean
アイテムでアイテム履歴を収集する場合は true、収集しない場合は false です。
説明
次の表に、この操作に関連するヘッダーおよび権限の情報を示します。
SOAP ヘッダーの使用方法 |
(Out) ServerInfoHeaderValue |
ネイティブ モードで必要な権限 |
|
SharePoint モードで必要な権限 |
ViewListItems()()()() |