ReportingService2010.SetItemHistoryOptions 메서드

정의

지정된 카탈로그 항목에 대해 항목 기록 스냅샷을 만드는 시간을 지정하는 항목 기록 옵션을 설정합니다. 이 메서드는 Report 항목 유형에 적용됩니다.

public:
 void SetItemHistoryOptions(System::String ^ ItemPath, bool EnableManualSnapshotCreation, bool KeepExecutionSnapshots, ReportService2010::ScheduleDefinitionOrReference ^ Item);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemHistoryOptions", 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("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void SetItemHistoryOptions (string ItemPath, bool EnableManualSnapshotCreation, bool KeepExecutionSnapshots, ReportService2010.ScheduleDefinitionOrReference Item);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemHistoryOptions", 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("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.SetItemHistoryOptions : string * bool * bool * ReportService2010.ScheduleDefinitionOrReference -> unit
Public Sub SetItemHistoryOptions (ItemPath As String, EnableManualSnapshotCreation As Boolean, KeepExecutionSnapshots As Boolean, Item As ScheduleDefinitionOrReference)

매개 변수

ItemPath
String

파일 이름과 SharePoint 모드에서는 확장명을 포함하는 항목의 정규화된 URL입니다.

EnableManualSnapshotCreation
Boolean

웹 서비스 CreateItemHistorySnapshot(String, Warning[]) 메서드를 통해 항목 기록 스냅숏을 만들 수 있는지 여부를 나타냅니다. 기본값은 true입니다.

KeepExecutionSnapshots
Boolean

항목 기록에 대해 항목 실행 스냅샷이 수집되는지 여부를 나타냅니다. 기본값은 false입니다.

Item
ScheduleDefinitionOrReference

항목 기록 스냅숏에 대한 일정 정보를 나타내는 ScheduleDefinition 또는 ScheduleReference 개체입니다. 일정에 따라 항목 기록 스냅숏이 만들어지지 않으면 이 매개 변수에 NoSchedule 개체를 전달합니다.

특성

설명

다음 표에서는 이 작업에 대한 헤더 및 사용 권한 정보를 보여 줍니다.

SOAP 헤더 사용 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
기본 모드 필수 권한 UpdatePolicyCreateSnapshot
SharePoint 모드 필수 권한 <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

적용 대상