Méthode ReportingService2005.SetReportHistoryOptions
Sets report history options that specify when a report history snapshot is created for a specified report.
Espace de noms : ReportService2005
Assembly : ReportService2005 (en ReportService2005.dll)
Syntaxe
'Déclaration
Public Sub SetReportHistoryOptions ( _
Report As String, _
EnableManualSnapshotCreation As Boolean, _
KeepExecutionSnapshots As Boolean, _
Item As ScheduleDefinitionOrReference _
)
'Utilisation
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
)
Paramètres
- Report
Type : System.String
The full path name of the report.
- EnableManualSnapshotCreation
Type : System.Boolean
Indicates whether report history snapshots can be created through the Web service CreateReportHistorySnapshot method. The default value is true.
- KeepExecutionSnapshots
Type : System.Boolean
Indicates whether report execution snapshots are collected for report history. The default value is false.
- Item
Type : ReportService2005.ScheduleDefinitionOrReference
The ScheduleDefinition object or ScheduleReference object that represents the schedule information for the report history snapshot. If the report history snapshot is not created according to a schedule, pass a NoSchedule object for this parameter.
Notes
The table below shows header and permissions information on this operation.
SOAP Headers |
(In) BatchHeaderValue (Out) ServerInfoHeaderValue |
Required Permissions |