Server.VersionMajor Property

 

Gets the major version of the server.

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

No code example is currently available or this language may not be supported.

Property Value

Type: System.Int32

The major version of the server.

Return to top
Show: