次の方法で共有


ReportingService2010.GetReportServerConfigInfo(Boolean) メソッド

定義

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

public:
 System::String ^ GetReportServerConfigInfo(bool ScaleOut);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetReportServerConfigInfo", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public string GetReportServerConfigInfo(bool ScaleOut);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetReportServerConfigInfo", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.GetReportServerConfigInfo : bool -> string
Public Function GetReportServerConfigInfo (ScaleOut As Boolean) As String

パラメーター

ScaleOut
Boolean

Reporting Services Configuration Managerbooleanの [配置のScale Out] ページに一覧表示されているすべてのレポート サーバー インスタンスを返すかどうかを示す 値です。

戻り値

string lt のセットを含むオブジェクト &。ServerConfigInfoItem>XML 要素。

属性

注釈

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

SOAP ヘッダーの使用方法 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
ネイティブ モードで必要なアクセス許可 ユーザーは、BUILTIN\Administrators グループのメンバーである必要があります。
SharePoint モードに必要なアクセス許可 ユーザーは、BUILTIN\Administrators グループのメンバーである必要があります。

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

要素 説明
InstanceName レポート サーバー インスタンスの名前を取得または設定します。
MachineName レポート サーバー インスタンスをホストするコンピューターの名前または設定します。
ReportServerURLItem レポート サーバー インスタンスの URL を取得または設定します。
ServerAccountName レポート サーバー インスタンスを管理するサービス アカウントを取得または設定します。

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

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

適用対象