ReportingService2010.GetItemHistoryLimit 方法

Returns the item history snapshot limit for a specified catalog item. This method applies to the Report item type.

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

[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryLimit", 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)]
public int GetItemHistoryLimit(
	string ItemPath,
	out bool IsSystem,
	out int SystemLimit
)

参数

ItemPath
类型:System.String
The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.
IsSystem
类型:System.Boolean%
A Boolean expression that returns true if the item snapshot policy is set equal to the system limit. The parameter returns false if the item has its own item history limit.
SystemLimit
类型:System.Int32%
The system item history limit.

返回值

类型:System.Int32
An integer value that represents the history limit for the given item. Values can range from -1 to 2,147,483,647. If the value is set to –1, all item history snapshots are saved.

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

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

ReadPolicy

SharePoint Mode Required Permissions

ViewListItems

社区附加资源

添加
显示: