Metoda ReportingService2010.GetItemHistoryLimit
Zwraca element limit migawka historia element określony katalog.Niniejsza metoda stosowana do raport element typu.
Przestrzeń nazw: ReportService2010
Zestaw: ReportService2010 (w ReportService2010.dll)
Składnia
'Deklaracja
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryLimit", RequestNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetItemHistoryLimit ( _
ItemPath As String, _
<OutAttribute> ByRef IsSystem As Boolean, _
<OutAttribute> ByRef SystemLimit As Integer _
) As Integer
'Użycie
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)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryLimit", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://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
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryLimit", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
int GetItemHistoryLimit(
String^ ItemPath,
[OutAttribute] bool% IsSystem,
[OutAttribute] int% SystemLimit
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryLimit", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member GetItemHistoryLimit :
ItemPath:string *
IsSystem:bool byref *
SystemLimit:int byref -> int
public function GetItemHistoryLimit(
ItemPath : String,
IsSystem : boolean,
SystemLimit : int
) : int
Parametry
- ItemPath
Typ: System.String
W pełni kwalifikowana URL element, łącznie z nazwą pliku i w trybie SharePoint rozszerzenia.
- IsSystem
Typ: System.Boolean%
A logiczna wyrażenie zwracające true Jeśli element migawka zasad jest równa limit systemu.Zwraca parametr false Jeśli element ma limit elementu historia.
- SystemLimit
Typ: System.Int32%
System element limit historia.
Wartość zwracana
Typ: System.Int32
Wartość całkowita reprezentuje limit historia dla danego element.Wartości zakres od -1 do 2 147 483 647.Jeśli wartość jest zestaw -1, wszystkie migawki historia element są zapisywane.
Uwagi
W poniższej tabela przedstawiono informacje nagłówka i uprawnienia na tej operacji.
Użycie nagłówek protokołu SOAP |
(Ruch wychodzący)ServerInfoHeaderValue |
Tryb macierzysty wymagane uprawnienia |
|
Tryb programu SharePoint wymagane uprawnienia |
ViewListItems() |