다음을 통해 공유


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 설명서의 “관리 개체에서 메서드 실행”을 참조하세요.

요구 사항

네임스페이스:root\Microsoft\SqlServer\ReportServer\<InstanceName>\v11

참고 항목

MSReportServer_ConfigurationSetting 멤버