MSReportServer_Instance 方法 - GetReportServerUrls
傳回使用者可用來存取報表伺服器和入口網站的 URL 清單。
語法
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);
參數
ApplicationName[]
包含已安裝之應用程式的陣列。 值為 ReportServerWebService 或 ReportServerWebApp。
URLs[]
包含成功註冊之 URL 的陣列。
長度
包含傳回之陣列長度的整數值。
HRESULT
表示成功的值或錯誤碼。
傳回值
備註
WMI 管理物件所公開的方法是透過 InvokeMethod 函數呼叫的。 如需詳細資訊,請參閱 Microsoft .NET Framework WMI 文件中的<對管理物件執行方法>。
需求
Namespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13