다음을 통해 공유


ReportingService2006.SetReportHistoryOptions 메서드

Sets report history options that specify when a report history snapshot is created for a specified report.

네임스페이스:  ReportService2006
어셈블리:  ReportService2006(ReportService2006.dll)

구문

‘선언
Public Sub SetReportHistoryOptions ( _
    Report As String, _
    EnableManualSnapshotCreation As Boolean, _
    KeepExecutionSnapshots As Boolean, _
    Item As ScheduleDefinitionOrReference _
)
‘사용 방법
Dim instance As ReportingService2006 
Dim Report As String 
Dim EnableManualSnapshotCreation As Boolean 
Dim KeepExecutionSnapshots As Boolean 
Dim Item As ScheduleDefinitionOrReference

instance.SetReportHistoryOptions(Report, _
    EnableManualSnapshotCreation, KeepExecutionSnapshots, _
    Item)
public void SetReportHistoryOptions(
    string Report,
    bool EnableManualSnapshotCreation,
    bool KeepExecutionSnapshots,
    ScheduleDefinitionOrReference Item
)
public:
void SetReportHistoryOptions(
    String^ Report, 
    bool EnableManualSnapshotCreation, 
    bool KeepExecutionSnapshots, 
    ScheduleDefinitionOrReference^ Item
)
member SetReportHistoryOptions : 
        Report:string * 
        EnableManualSnapshotCreation:bool * 
        KeepExecutionSnapshots:bool * 
        Item:ScheduleDefinitionOrReference -> unit
public function SetReportHistoryOptions(
    Report : String, 
    EnableManualSnapshotCreation : boolean, 
    KeepExecutionSnapshots : boolean, 
    Item : ScheduleDefinitionOrReference
)

매개 변수

  • Report
    유형: System.String
    The fully qualified URL of the report including the file name and .rdl file name extension.
  • KeepExecutionSnapshots
    유형: System.Boolean
    Indicates whether report execution snapshots are collected for report history. The default value is false.

주의

The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

EditListItems

참고 항목

참조

ReportingService2006 클래스

ReportService2006 네임스페이스