ListInstalledSharePointVersions 메서드(WMI)

보고서 서버와 같은 컴퓨터에 설치되어 있는 Microsoft Windows SharePoint Services, Office SharePoint Server , SharePoint Foundation 2010 또는 SharePoint Server 2010 버전을 나타내는 토큰 집합을 반환합니다.

구문

Public Sub ListInstalledSharePointVersions(ByRef VersionTokens() _
    As String, ByRef Length As Int32, ByRef HRESULT As Int32)
public void ListReportServersInDatabase (out string[] VersionTokens, 
    out Int32 Length, out Int32 HRESULT);

매개 변수

  • VersionTokens[]
    [out] 설치된 보고서 서버와 호환되는 SharePoint 제품 또는 기술의 버전을 나타내는 토큰이 들어 있는 배열입니다.

  • Length
    [out] 버전 토큰 배열의 길이입니다.

  • HRESULT
    [out] 호출의 성공 여부를 나타내는 값입니다.

반환 값

메서드 호출의 성공 또는 실패를 나타내는 HRESULT를 반환합니다. 0 값은 메서드 호출이 성공했음을 나타냅니다. 0 이외의 값은 오류가 발생했음을 나타냅니다.

주의

반환되는 각 토큰은 현재 설치되어 있는 보고서 서버와 호환되는 Windows SharePoint Services 또는 SharePoint Foundation 2010 버전을 나타냅니다. 특정 버전의 SharePoint가 이전 SharePoint 버전과 호환되는 경우 호환되는 각 SharePoint 버전에 대한 토큰이 반환됩니다.

다음 표에서는 반환되는 SharePoint 토큰을 보여 줍니다.

버전 토큰

설명

WSS_V2_Compatible

Windows SharePoint Services 2.0과 호환되는 Windows SharePoint Services, Windows SharePoint Services, Office SharePoint Server , SharePoint Foundation 2010 또는 SharePoint Server 2010이 설치되어 있습니다.

WSS_V3_Compatible

Windows SharePoint Services 3.0과 호환되는 Windows SharePoint Services, Windows SharePoint Services, Office SharePoint Server , SharePoint Foundation 2010 또는 SharePoint Server 2010이 설치되어 있습니다.

WSS_V4_Compatible

Office 14와 호환되는 SharePoint Foundation 2010 또는 SharePoint Server 2010이 설치되어 있습니다.

요구 사항

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

플랫폼: Windows Server 2003, Datacenter Edition; Windows Server 2003, Enterprise Edition; Windows Server 2003, Standard Edition; Windows Vista; Windows XP Professional SP2(서비스 팩 2) 또는 SP1(서비스 팩 1) 또는 Windows 2000(모든 버전)

참고 항목

참조

MSReportServer_ConfigurationSetting 멤버