Método GetReportHistoryLimit
Retorna o limite de instantâneo de histórico de relatório para um relatório especificado.
Namespace: ReportService2006
Assembly: ReportService2006 (em ReportService2006.dll)
Sintaxe
'Declaração
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryLimit", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Function GetReportHistoryLimit ( _
Report As String, _
<OutAttribute> ByRef IsSystem As Boolean, _
<OutAttribute> ByRef SystemLimit As Integer _
) As Integer
'Uso
Dim instance As ReportingService2006
Dim Report As String
Dim IsSystem As Boolean
Dim SystemLimit As Integer
Dim returnValue As Integer
returnValue = instance.GetReportHistoryLimit(Report, _
IsSystem, SystemLimit)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryLimit", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public int GetReportHistoryLimit(
string Report,
out bool IsSystem,
out int SystemLimit
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryLimit", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
int GetReportHistoryLimit(
String^ Report,
[OutAttribute] bool% IsSystem,
[OutAttribute] int% SystemLimit
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryLimit", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member GetReportHistoryLimit :
Report:string *
IsSystem:bool byref *
SystemLimit:int byref -> int
public function GetReportHistoryLimit(
Report : String,
IsSystem : boolean,
SystemLimit : int
) : int
Parâmetros
- Report
Tipo: System. . :: . .String
A URL totalmente qualificada do relatório, incluindo o nome do arquivo e a extensão de nome de arquivo .rdl.
- IsSystem
Tipo: System. . :: . .Boolean%
Uma expressão Booliana que retornará o valor true se a política de instantâneo de relatório for definida como igual a para o limite de sistema. O parâmetro retornará false se o relatório tiver seu próprio limite de histórico de relatórios.
- SystemLimit
Tipo: System. . :: . .Int32%
O limite de histórico de relatórios de sistema.
Valor de retorno
Tipo: System. . :: . .Int32
A tabela a seguir mostra o cabeçalho e as informações de permissão sobre esta operação.
Cabeçalhos de SOAP |
(Out) ServerInfoHeaderValue |
Permissões necessárias |
ViewListItems()()()() |
Um valor inteiro que representa o limite de histórico do relatório específico. Os valores podem variar de -1 a 2.147.483.647. Se o valor estiver definido com -1, todos os instantâneos de histórico de relatórios serão salvos.