次の方法で共有


GetReportHistoryLimit メソッド

指定したレポートのレポート履歴スナップショット数の制限を返します。

名前空間:  ReportService2005
アセンブリ:  ReportService2005 (ReportService2005.dll)

構文

'宣言
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetReportHistoryLimit", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/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
'使用
Dim instance As ReportingService2005
Dim Report As String
Dim IsSystem As Boolean
Dim SystemLimit As Integer
Dim returnValue As Integer

returnValue = instance.GetReportHistoryLimit(Report, _
    IsSystem, SystemLimit)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetReportHistoryLimit", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public int GetReportHistoryLimit(
    string Report,
    out bool IsSystem,
    out int SystemLimit
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetReportHistoryLimit", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/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
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetReportHistoryLimit", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/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

パラメーター

  • IsSystem
    型: System. . :: . .Boolean%
    レポート スナップショット ポリシーでの制限がシステムの制限と同じ場合に true を返す Boolean 式です。レポートに独自のレポート履歴制限がある場合は false を返します。

戻り値

型: System. . :: . .Int32
指定したレポート履歴の制限を表す integer 値です。値の範囲は、-1 ~ 2,147,483,647 です。値が -1 の場合、すべてのレポート履歴スナップショットが保存されます。