SPFarm.BuildVersion property

Gets the Microsoft SharePoint Foundation build version of the server farm.

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

Syntax

'Declaration
Public ReadOnly Property BuildVersion As Version
    Get
'Usage
Dim instance As SPFarm
Dim value As Version

value = instance.BuildVersion
public Version BuildVersion { get; }

Property value

Type: System.Version
A System.Version object that represents the build version of the server farm.

Remarks

The version is returned in the format major.minor.phase.build.

See also

Reference

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace