次の方法で共有


GetReportServerUrls メソッド (WMI MSReportServer_Instance)

ユーザーがレポート サーバーおよびレポート マネージャーへのアクセスに使用できる 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 です。

URL[]
正常に登録された URL を含む配列。

長さ
返された配列の長さを含む整数値。

HRESULT
成功を表す値またはエラー コード。

戻り値

解説

WMI 管理オブジェクトによって公開されるメソッドは、InvokeMethod 関数によって呼び出されます。 詳細については、Microsoft .NET Framework WMI ドキュメントの「管理オブジェクトのメソッドの実行」を参照してください。

要件

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

参照

MSReportServer_ConfigurationSetting メンバー