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)

public Version BuildVersion { get; }

Property value

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

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

Show: