ReportingService2005.SetReportHistoryOptions Method (String, Boolean, Boolean, ScheduleDefinitionOrReference)

 

Applies To: SQL Server 2016 Preview

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

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

Syntax

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 Sub SetReportHistoryOptions (
    Report As String,
    EnableManualSnapshotCreation As Boolean,
    KeepExecutionSnapshots As Boolean,
    Item As ScheduleDefinitionOrReference
)

Parameters

  • KeepExecutionSnapshots
    Type: System.Boolean

    Indicates whether report execution snapshots are collected for report history. The default value is false.

Remarks

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

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

UpdatePolicy AND CreateSnapshot

See Also

ReportingService2005 Class
ReportService2005 Namespace

Return to top