ListReportServersInDatabase Method (WMI MSReportServer_ConfigurationSetting Class)

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

Syntax

Public Sub ListReportServersInDatabase(ByRef MachineNames() As String,_
    ByRef Statuses() 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 Statuses[], out string InstallationIDs[], 
    out Boolean IsInitialized[],out sint32 Length, out sint32 HRESULT, 
    out string ExtendedErrors[]);

Parameters

  • MachineNames[]
    [out] An array containing the machine names for the report server installations in the database.
  • Statuses[]
    [out] An array containing the statues 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.

Return Value

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 the caller has access to secure information, and returns a matched set of arrays containing information about each installation.

Requirements

Namespace:root\Microsoft\SqlServer\ReportServer\v9\Admin

Platform: Windows Server 2003 Datacenter Edition, Windows Server 2003 Enterprise Edition, Windows Server 2003 Standard Edition, Windows Vista, Windows XP Professional SP2(서비스 팩 2) 또는 SP1(서비스 팩 1), 또는 Windows 2000(모든 버전)

참고 항목

참조

MSReportServer_ConfigurationSetting Members
MSReportServer_ConfigurationSettingForSharePoint Members

도움말 및 정보

SQL Server 2005 지원 받기