ReportingService2010.SetItemHistoryOptions 方法

Sets item history options that specify when an item history snapshot is created for a specified catalog item. This method applies to the Report item type.

命名空间:  ReportService2010
程序集:  ReportService2010(在 ReportService2010.dll 中)

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemHistoryOptions", RequestNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public void SetItemHistoryOptions(
	string ItemPath,
	bool EnableManualSnapshotCreation,
	bool KeepExecutionSnapshots,
	ScheduleDefinitionOrReference Item
)

参数

ItemPath
类型:System.String
The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.
EnableManualSnapshotCreation
类型:System.Boolean
Indicates whether item history snapshots can be created through the Web service CreateItemHistorySnapshot method. The default value is true.
KeepExecutionSnapshots
类型:System.Boolean
Indicates whether item execution snapshots are collected for item history. The default value is false.
Item
类型:ReportService2010.ScheduleDefinitionOrReference
The ScheduleDefinition or ScheduleReference object that represents the schedule information for the item history snapshot. If the item 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 Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

UpdatePolicy AND CreateSnapshot

SharePoint Mode Required Permissions

EditListItems

社区附加资源

添加
显示: