Share via


ReportingService2010.GetItemHistoryLimit(String, Boolean, Int32) メソッド

定義

指定したカタログ アイテムのアイテム履歴スナップショット数の制限を返します。 このメソッドは、アイテムの種類 Report に適用されます。

public:
 int GetItemHistoryLimit(System::String ^ ItemPath, [Runtime::InteropServices::Out] bool % IsSystem, [Runtime::InteropServices::Out] int % SystemLimit);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryLimit", 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 int GetItemHistoryLimit (string ItemPath, out bool IsSystem, out int SystemLimit);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryLimit", 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.GetItemHistoryLimit : string * bool * int -> int
Public Function GetItemHistoryLimit (ItemPath As String, ByRef IsSystem As Boolean, ByRef SystemLimit As Integer) As Integer

パラメーター

ItemPath
String

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

IsSystem
Boolean

アイテム スナップショット ポリシーでの制限がシステムの制限と同じである場合に Boolean を返す true 式です。 アイテムに独自のアイテム履歴制限がある場合は false を返します。

SystemLimit
Int32

システム アイテム履歴の制限です。

戻り値

指定したアイテム履歴の制限を表す整数値です。 値の範囲は、-1 ~ 2,147,483,647 です。 値が -1 の場合、すべてのアイテム履歴スナップショットが保存されます。

属性

注釈

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

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

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

適用対象