| title | ListInstalledSharePointVersions method (WMI) | |
|---|---|---|
| description | ConfigurationSetting method - ListInstalledSharePointVersions | |
| ms.date | 09/25/2024 | |
| ms.service | reporting-services | |
| ms.subservice | wmi-provider-library-reference | |
| ms.topic | reference | |
| ms.custom |
|
|
| helpviewer_keywords |
|
Returns a set of tokens that represent the versions of Microsoft [!INCLUDEwinSPServ], [!INCLUDEoffSPServ], [!INCLUDESPF2010], or [!INCLUDESPS2010]. The tokens indicate installations on the same computer as the report server.
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] An array that contains the tokens that represent the version of a SharePoint product or technology that is compatible with the installed report server.
Length
[out] The length of the version tokens array.
HRESULT
[out] Value indicating whether the call succeeded or failed.
Returns an HRESULT indicating success or failure of the method call. A value of 0 indicates that the method call was successful. A nonzero value indicates that an error occurred.
Each token that is returned represents a version of [!INCLUDEwinSPServ] or [!INCLUDESPF2010] that is compatible with the currently installed report server. If a particular version of SharePoint is compatible with previous SharePoint versions, tokens for each compatible SharePoint version are returned.
The following table shows the SharePoint tokens that are returned.
| Version Tokens | Description |
|---|---|
| WSS_V2_Compatible | A [!INCLUDEwinSPServ], [!INCLUDEwinSPServ], [!INCLUDEoffSPServ], [!INCLUDESPF2010], or [!INCLUDESPS2010] installation is installed that is compatible with [!INCLUDEwinSPServ] 2.0. |
| WSS_V3_Compatible | A [!INCLUDEwinSPServ], [!INCLUDEwinSPServ], [!INCLUDEoffSPServ], [!INCLUDESPF2010], or [!INCLUDESPS2010] installation is installed that is compatible with [!INCLUDEwinSPServ] 3.0. |
| WSS_V4_Compatible | A [!INCLUDESPF2010] or [!INCLUDESPS2010] installation is installed that is compatible with Office 14. |
Namespace: [!INCLUDEssRSWMInmspcA]