Export (0) Print
Expand All

ListReportServersInDatabase Method (WMI MSReportServer_ConfigurationSetting)

Returns the list of report server installations that are present in the report server database, regardless of whether they have access to secure information.

Public Sub ListReportServersInDatabase(ByRef MachineNames() As String, _
    ByRef InstanceNames() As String, ByRef InstallationIDs() As String, _
    ByRef IsInitialized() As Boolean, ByRef Length As Int32, _
    ByRef HRESULT As Int32, ByRef ExtendedErrors() As String)

public void ListReportServersInDatabase (out string[] MachineNames, 
    out string[] InstanceNames, out string[] InstallationIDs, 
    out Boolean[] IsInitialized,out Int32 Length, out Int32 HRESULT,  
    out string[] ExtendedErrors);

MachineNames[]

[out] An array containing the machine names for the report server installations in the database.

InstanceNames[]

[out] An array containing the instance names of each of the report server installations in the database.

InstallationIDs[]

[out] An array containing the installation IDs of each report server installation in the database.

IsInitialized[]

[out] An array containing initialization status for each report server installation in the database.

Length

[out] The length of the arrays returned by the method. All returned arrays have the same length.

HRESULT

[out] Value indicating whether the call succeeded or failed.

ExtendedErrors[]

[out] A string array containing additional errors returned by the call.

Returns an HRESULT indicating success or failure of the method call. A value of 0 indicates that the method call was successful. A non-zero value indicates that an error has occurred.

ListReportServersInDatabase lists the report server installations that are present in the report server database, regardless of whether they have access to secure information, and returns a matched set of arrays containing information about each installation.

Namespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v12\Admin

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft