ReportingService2010.GetItemHistoryLimit(String, Boolean, Int32) Método

Definición

Devuelve el límite de la instantánea del historial de elementos para un elemento de catálogo especificado. Este método se aplica al tipo de elemento Report.

public:
 int GetItemHistoryLimit(System::String ^ ItemPath, [Runtime::InteropServices::Out] bool % IsSystem, [Runtime::InteropServices::Out] int % SystemLimit);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryLimit", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public int GetItemHistoryLimit (string ItemPath, out bool IsSystem, out int SystemLimit);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryLimit", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.GetItemHistoryLimit : string * bool * int -> int
Public Function GetItemHistoryLimit (ItemPath As String, ByRef IsSystem As Boolean, ByRef SystemLimit As Integer) As Integer

Parámetros

ItemPath
String

Dirección URL completa del elemento, incluidos el nombre de archivo y la extensión, en modo de SharePoint.

IsSystem
Boolean

Expresión Boolean que devuelve true, si la directiva de instantánea de elemento está establecida en el límite del sistema. El parámetro devuelve false si el elemento tiene su propio límite de historial de elemento.

SystemLimit
Int32

Límite del historial de elementos del sistema.

Devoluciones

Valor entero que representa el límite del historial para el elemento dado. Los valores pueden ir de 1 a 2.147.483.647. Si el valor se establece en -1, se guardan todas las instantáneas del historial del elemento.

Atributos

Comentarios

En la siguiente tabla se muestra la información de encabezado y de permisos de esta operación.

Uso de encabezados SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Permisos necesarios en modo nativo ReadPolicy
Permisos necesarios en modo de SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Se aplica a