IServerInformation.VersionMajor Property

Gets the portion of a component version identifier to the left of the first decimal point in the identifier.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[DisplayNameKeyAttribute("Server_VersionMajorName")]
[DisplayDescriptionKeyAttribute("Server_VersionMajorDesc")]
int VersionMajor { get; }

Property Value

Type: System.Int32
Int32

Community Additions

ADD
Show: