次の方法で共有


ReportingService2010.GetReportServerConfigInfo メソッド

接続しているレポート サーバー インスタンス、またはスケールアウト配置内のすべてのレポート サーバー インスタンスに関する情報を返します。

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

構文

'宣言
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetReportServerConfigInfo", 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 GetReportServerConfigInfo ( _
    ScaleOut As Boolean _
) As String
'使用
Dim instance As ReportingService2010 
Dim ScaleOut As Boolean 
Dim returnValue As String 

returnValue = instance.GetReportServerConfigInfo(ScaleOut)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetReportServerConfigInfo", 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 string GetReportServerConfigInfo(
    bool ScaleOut
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetReportServerConfigInfo", 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:
String^ GetReportServerConfigInfo(
    bool ScaleOut
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetReportServerConfigInfo", 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 GetReportServerConfigInfo : 
        ScaleOut:bool -> string
public function GetReportServerConfigInfo(
    ScaleOut : boolean
) : String

パラメーター

  • ScaleOut
    型: System.Boolean
    Reporting Services 構成マネージャーの [スケールアウト配置] ページに表示されている、すべてのレポート サーバー インスタンスを返すかどうかを示す Boolean 値です。

戻り値

型: System.String
<ServerConfigInfoItem> XML 要素のセットを含む string オブジェクトです。

説明

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

SOAP ヘッダーの使用方法

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

ネイティブ モードで必要な権限

ユーザーは、BUILTIN\Administrators グループのメンバーである必要があります。

SharePoint モードで必要な権限

ユーザーは、BUILTIN\Administrators グループのメンバーである必要があります。

<ServerConfigInfoItem> XML 要素には、次の要素が含まれます。

要素

説明

InstanceName

レポート サーバー インスタンスの名前を取得または設定します。

MachineName

レポート サーバー インスタンスをホストするコンピューターの名前または設定します。

ReportServerURLItem

レポート サーバー インスタンスの URL を取得または設定します。

ServerAccountName

レポート サーバー インスタンスを管理するサービス アカウントを取得または設定します。

このメソッドは、ローカル管理者グループに属する Windows ユーザーのみが使用できます。

ScaleOut パラメーターが false に設定されている場合、このメソッドは接続しているレポート サーバー インスタンスの <ServerConfigInfoItem> 要素 1 つのみを返します。

関連項目

参照

ReportingService2010 クラス

ReportService2010 名前空間