傳回用戶可用來存取報表伺服器和報表管理員的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
值為 或 ReportManager
。
URLs[]
包含成功註冊之 URL 的陣列。
長度
包含傳回之陣列長度的整數值。
HRESULT
表示成功的值或錯誤碼。
傳回值
備註
WMI 管理物件所公開的方法是透過 InvokeMethod 函數呼叫的。 如需詳細資訊,請參閱 Microsoft .NET Framework WMI 文件中的<對管理物件執行方法>。
需求
命名空間:root\Microsoft\SqlServer\ReportServer\<InstanceName>\v11