Share via


GetReportServerUrls Method (WMI MSReportServer_Instance)

Returns a list of URLs users can use to access the report server and report manager.

Syntax

Public Sub GetReportServerUrls (ByRef ApplicationName() As String, ByRef URLs()_  
    As String, ByRef Length As Int32, ByRef HRESULT As Int32)  
public void GetReportServerUrls(out string[] applicationName,   
    out string[] URLs, out int length, out int HRESULT);  

Parameters

ApplicationName[]
An array that contains the applications that are installed. Values are either ReportServerWebService or ReportManager.

URLs[]
An array that contains the successfully registered Urls.

Length
An integer value that contains the length of the arrays returned.

HRESULT
A value that indicates success or an error code.

Return Values

Remarks

Methods exposed by WMI management objects are called through the InvokeMethod function. For more information, please see "Executing Methods on Management Objects" in the Microsoft .NET Framework WMI documentation.

Requirements

Namespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v11

See Also

MSReportServer_ConfigurationSetting Members