分享方式:


ConfigurationSetting 方法 - ListReservedURLs

列出針對報表伺服器上所有應用程式保留的 URL。

語法

Public Sub ListReservedUrls(ByRef Application() as String, ByRef UrlString() as String, _  
    ByRef Account() as String, ByRef AccountSID() as String, _  
    ByRef length() as Int32, ByRef HRESULT as Int32)  
public void ListReservedUrls(out string[] Application, out string[] UrlString,  
        out string[] Account, out string[] AccountSID,  
        out int[] Length, out int[] HRESULT);  

參數

Application[]
[out] 具有 URL 保留項目的應用程式。

UrlString[]
[out] 已保留的 URL。

Account[]
[out] 與 URL 保留項目之帳戶相關聯的帳戶名稱。

AccountSID[]
[out] 與 URL 保留項目之帳戶相關聯的帳戶 SID。

長度
[out] 此方法所傳回之陣列的長度。

HRESULT
[out] 指出呼叫成功或失敗的值。

傳回值

傳回 HRESULT ,指出方法呼叫成功或失敗。 值為 0 表示方法呼叫成功。 錯誤碼指示呼叫未成功。

需求

Namespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin

MSReportServer_ConfigurationSetting 成員