ServerSelectionAdapter.VersionMajor Property

Gets an Int32 value that contains the major digits of the version number.

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

Syntax

'Declaration
Public ReadOnly Property VersionMajor As Integer
    Get
'Usage
Dim instance As ServerSelectionAdapter
Dim value As Integer

value = instance.VersionMajor
public int VersionMajor { get; }
public:
virtual property int VersionMajor {
    int get () sealed;
}
abstract VersionMajor : int
override VersionMajor : int
final function get VersionMajor () : int

Property Value

Type: System.Int32
An Int32 value that contains the major digits of the version number.

Implements

IServerSelectionFacet.VersionMajor