Επεξεργασία

Κοινή χρήση μέσω


MSReportServer_Instance methods - GetReportServerUrls

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

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 ReportServerWebApp.

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>\v13