次の方法で共有


GetReportHistoryLimit メソッド

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

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

構文

'宣言
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<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)> _
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)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[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)]
public int GetReportHistoryLimit(
    string Report,
    out bool IsSystem,
    out int SystemLimit
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[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)]
public:
int GetReportHistoryLimit(
    String^ Report, 
    [OutAttribute] bool% IsSystem, 
    [OutAttribute] int% SystemLimit
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<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)>]
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 の場合、すべてのレポート履歴スナップショットが保存されます。

説明

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダー

(Out) ServerInfoHeaderValue

必要な権限

ReadPolicy