Udostępnij przez


Metoda ReportingService2010.GetReportServerConfigInfo

Zwraca informacje o wystąpienie serwera połączonych raport lub raport wystąpienia serwera w wdrożenie skalowalne w poziomie.

Przestrzeń nazw:  ReportService2010
Zestaw:  ReportService2010 (w ReportService2010.dll)

Składnia

'Deklaracja
<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
'Użycie
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

Parametry

  • ScaleOut
    Typ: System.Boolean
    A logiczna wartość, która wskazuje, czy do zwrócenia wszystkich serwer raportów wystąpień wymienionych w Skali poza wdrażania strona w Reporting Services Menedżer konfiguracji.

Wartość zwracana

Typ: System.String
A ciąg obiekt, który zawiera zestaw <ServerConfigInfoItem> elementów XML.

Uwagi

W poniższej tabela przedstawiono informacje nagłówka i uprawnienia na tej operacji.

Użycie nagłówek protokołu SOAP

(W)TrustedUserHeaderValue

(Ruch wychodzący)ServerInfoHeaderValue

Tryb macierzysty wymagane uprawnienia

Użytkownik musi być element członkowski grupy BUILTIN\Administratorzy

Tryb programu SharePoint wymagane uprawnienia

Użytkownik musi być element członkowski grupy BUILTIN\Administratorzy

<ServerConfigInfoItem> XML element zawiera następujące elementy:

Element

Opis

InstanceName

Pobiera lub ustawia nazwę wystąpienie serwer raportów.

Nazwa_komputera

Pobiera lub ustawia nazwę komputera obsługującego wystąpienie serwer raportów.

ReportServerURLItem

Pobiera lub ustawia adres URL serwer raportów instancji.

ServerAccountName

Pobiera lub ustawia nazwę konta usługa, która administruje wystąpienie serwer raportów.

Dostęp do tej metoda jest dostępny tylko dla użytkowników systemu Windows, którzy należą do grupy administratorów lokalnych.

Jeśli ScaleOut parametr jest zestaw do false, Metoda ta zwraca tylko jedną <ServerConfigInfoItem> element raportu połączonych wystąpienie serwera.