語言

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

一個boolean表示是否要回傳 Reporting Services 設定管理員 中擴展部署頁面中列出的所有報告伺服器實例的值。

傳回

一個 包含集合 < 的物件;ServerConfigInfoItem>XML 元素。

屬性

備註

下表顯示此操作的標頭與權限資訊。

SOAP 標頭的使用 (在) TrustedUserHeaderValue

(出局) ServerInfoHeaderValue
原生模式所需權限 使用者必須是 BUILTIN\Administrators 群組的成員
SharePoint 模式 必要權限 使用者必須是 BUILTIN\Administrators 群組的成員

<ServerConfigInfoItem> XML 元素包含以下元素:

元素 Description
實例名稱 取得或設定報告伺服器實例的名稱。
機器名稱 取得或設定承載報告伺服器實例的機器名稱。
ReportServerURLItem 取得或設定報告伺服器實例的網址。
ServerAccountName 取得或設定管理報告伺服器實例的服務帳號名稱。

此方法僅對屬於本地管理員群組的 Windows 使用者開放。

若 ScaleOut 參數設為 false,此方法僅回傳一個 <連接報告伺服器實例的 ServerConfigInfoItem> 元素。

適用於