Share via


ReportingService2006.GetReportHistoryOptions Method

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

Namespace:  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Syntax

'Declaration
Public Function GetReportHistoryOptions ( _
    Report As String, _
    <OutAttribute> ByRef KeepExecutionSnapshots As Boolean, _
    <OutAttribute> ByRef Item As ScheduleDefinitionOrReference _
) As Boolean
'Usage
Dim instance As ReportingService2006 
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

Parameters

  • KeepExecutionSnapshots
    Type: System.Boolean%
    [out] A Boolean expression indicating whether report execution snapshots are collected for report history. The default value is false.

Return Value

Type: System.Boolean
true if report history is collected for the report; otherwise, false.

Remarks

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ViewListItems

See Also

Reference

ReportingService2006 Class

ReportService2006 Namespace