共用方式為


ReportingService2005.SetReportHistoryOptions 方法

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

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
Public Sub SetReportHistoryOptions ( _
    Report As String, _
    EnableManualSnapshotCreation As Boolean, _
    KeepExecutionSnapshots As Boolean, _
    Item As ScheduleDefinitionOrReference _
)
'用途
Dim instance As ReportingService2005 
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 full path name of the report.
  • 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) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

UpdatePolicy AND CreateSnapshot

請參閱

參考

ReportingService2005 類別

ReportService2005 命名空間