Any suggestions? Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

ReportingService2010.GetItemHistoryLimit Method

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

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

<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
	ResponseNamespace := "",  _
	Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetItemHistoryLimit ( _
	ItemPath As String, _
	<OutAttribute> ByRef IsSystem As Boolean, _
	<OutAttribute> ByRef SystemLimit As Integer _
) As Integer
Dim instance As ReportingService2010
Dim ItemPath As String
Dim IsSystem As Boolean
Dim SystemLimit As Integer
Dim returnValue As Integer

returnValue = instance.GetItemHistoryLimit(ItemPath, _
	IsSystem, SystemLimit)


Type: System.String
The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.
Type: 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.
Type: System.Int32%
The system item history limit.

Return Value

Type: 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


SharePoint Mode Required Permissions


Community Additions

© 2015 Microsoft