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>

적용 대상