Share via


SPProductVersions.GetProductVersions method

Creates a new instance of this object. Then queries the database and populates the new instance with data from the query and returns the object instance.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function GetProductVersions As SPProductVersions
'Usage
Dim returnValue As SPProductVersions

returnValue = SPProductVersions.GetProductVersions()
public static SPProductVersions GetProductVersions()

Return value

Type: Microsoft.SharePoint.Administration.SPProductVersions
A SPProductVersions object.

See also

Reference

SPProductVersions class

SPProductVersions members

GetProductVersions overload

Microsoft.SharePoint.Administration namespace