Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetReportHistoryOptions Method
Collapse the table of content
Expand the table of content

ReportingService2005.SetReportHistoryOptions Method

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

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

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetReportHistoryOptions", RequestNamespace = "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public void SetReportHistoryOptions(
	string Report,
	bool EnableManualSnapshotCreation,
	bool KeepExecutionSnapshots,
	ScheduleDefinitionOrReference Item


Type: System.String
The full path name of the report.
Type: System.Boolean
Indicates whether report history snapshots can be created through the Web service CreateReportHistorySnapshot method. The default value is true.
Type: System.Boolean
Indicates whether report execution snapshots are collected for report history. The default value is false.
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.

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

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

UpdatePolicy AND CreateSnapshot

Community Additions

© 2015 Microsoft