ServerVersionInfo.MajorVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The MajorVersion property gets or sets the major version number.
public:
property int MajorVersion { int get(); void set(int value); };
public int MajorVersion { get; set; }
Public Property MajorVersion As Integer
Property Value
The value of the MajorVersion property is the major version number.