Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ServerVersion.Major Property

Gets the build number part of the server version information.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

public int Major { get; }

Property Value

Type: System.Int32
An Int32 value that specifies the build number part of the server version information.

Community Additions

ADD
Show:
© 2015 Microsoft