共用方式為


ReportingService2010.GetReportServerConfigInfo(Boolean) Method

Definition

Returns information on the connected report server instance or all the report server instances in a scale-out deployment.

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

Parameters

ScaleOut
Boolean

A boolean value that indicates whether to return all the report server instances listed in the Scale Out Deployment page in Reporting Services Configuration Manager.

Returns

A string object that contains a set of &lt;ServerConfigInfoItem&gt; XML elements.

Attributes

Remarks

The table below shows header and permissions information on this operation.

SOAP Header Usage (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions The user must be a member of the BUILTIN\Administrators group
SharePoint Mode Required Permissions The user must be a member of the BUILTIN\Administrators group

The <ServerConfigInfoItem> XML element contains the following elements:

Element Description
InstanceName Gets or sets the name of the report server instance.
MachineName Gets or sets the name of the machine that hosts the report server instance.
ReportServerURLItem Gets or sets the URL of the report server instance.
ServerAccountName Gets or sets the service account name that administers the report server instance.

Access to this method is only available to Windows users who belong to the local administrators group.

If the ScaleOut parameter is set to false, this method returns only one <ServerConfigInfoItem> element for the connected report server instance.

Applies to