共用方式為


ReportingService2005.GetReportHistoryOptions 方法

Returns the report history snapshot option and properties that are generated for a report.

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

語法

'宣告
Public Function GetReportHistoryOptions ( _
    Report As String, _
    <OutAttribute> ByRef KeepExecutionSnapshots As Boolean, _
    <OutAttribute> ByRef Item As ScheduleDefinitionOrReference _
) As Boolean
'用途
Dim instance As ReportingService2005 
Dim Report As String 
Dim KeepExecutionSnapshots As Boolean 
Dim Item As ScheduleDefinitionOrReference 
Dim returnValue As Boolean 

returnValue = instance.GetReportHistoryOptions(Report, _
    KeepExecutionSnapshots, Item)
public bool GetReportHistoryOptions(
    string Report,
    out bool KeepExecutionSnapshots,
    out ScheduleDefinitionOrReference Item
)
public:
bool GetReportHistoryOptions(
    String^ Report, 
    [OutAttribute] bool% KeepExecutionSnapshots, 
    [OutAttribute] ScheduleDefinitionOrReference^% Item
)
member GetReportHistoryOptions : 
        Report:string * 
        KeepExecutionSnapshots:bool byref * 
        Item:ScheduleDefinitionOrReference byref -> bool
public function GetReportHistoryOptions(
    Report : String, 
    KeepExecutionSnapshots : boolean, 
    Item : ScheduleDefinitionOrReference
) : boolean

參數

  • Report
    型別:System.String
    The full path name of the report.
  • KeepExecutionSnapshots
    型別:System.Boolean%
    [out] A Boolean expression indicating whether report history is collected for the report. The default value is false.

傳回值

型別:System.Boolean
A Boolean expression indicating whether report history is collected for the report. The default value is false.

備註

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

SOAP Headers

(Out) ServerInfoHeaderValue

Required Permissions

ReadPolicy

請參閱

參考

ReportingService2005 類別

ReportService2005 命名空間