Lingua

ReportingService2010.GetReportServerConfigInfo(Boolean) Metodo

Definizione

Restituisce informazioni sull'istanza del server di report connesso o su tutte le istanze del server di report in una distribuzione scale-out.

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

Parametri

ScaleOut
Boolean

Un boolean valore che indica se restituire tutte le istanze del server di report elencate nella pagina Scale Out Deployment in Reporting Services Gestione configurazione.

Valori restituiti

Un oggetto che contiene un insieme di < ServerConfigInfoItem> Elementi XML.

Attributi

Commenti

La tabella sottostante mostra informazioni sull'intestazione e sui permessi di questa operazione.

Utilizzo dell'intestazione SOAP (Dentro) TrustedUserHeaderValue

(Fuori) ServerInfoHeaderValue
Permessi richiesti per la modalità nativa L'utente deve essere membro del gruppo BUILTIN\Administrators
Permessi richiesti in modalità SharePoint L'utente deve essere membro del gruppo BUILTIN\Administrators

L'elemento <XML ServerConfigInfoItem> contiene i seguenti elementi:

Elemento Descrizione
NomeIstanza Ottiene o imposta il nome dell'istanza del server di report.
MachineName Ottiene o imposta il nome della macchina che ospita l'istanza del server di report.
ReportServerURLItem Ottiene o imposta l'URL dell'istanza del server di report.
NomeAccountServerT Ottiene o imposta il nome dell'account di servizio che amministra l'istanza del server di report.

L'accesso a questo metodo è disponibile solo per gli utenti Windows appartenenti al gruppo amministratori locali.

Se il parametro ScaleOut è impostato su false, questo metodo restituisce solo un <elemento ServerConfigInfoItem> per l'istanza del server report connesso.

Si applica a