ConfigurationSetting 메서드 - ListInstalledSharePointVersions

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 제품 또는 기술의 버전을 나타내는 토큰을 포함하는 배열입니다.

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

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

반환 값

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

설명

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

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

버전 토큰 설명
WSS_V2_Compatible Windows SharePoint Services, Windows SharePoint Services, Office SharePoint Server, SharePoint Foundation 2010 또는 SharePoint Server 2010 설치는 Windows SharePoint Services 2.0과 호환됩니다.
WSS_V3_Compatible Windows SharePoint Services, Windows SharePoint Services, Office SharePoint Server, SharePoint Foundation 2010 또는 SharePoint Server 2010 설치는 Windows SharePoint Services 3.0과 호환됩니다.
WSS_V4_Compatible Office 14와 호환되는 SharePoint Foundation 2010 또는 SharePoint Server 2010 설치가 설치됩니다.

요구 사항

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

MSReportServer_ConfigurationSetting 멤버