Freigeben über


VersionMajor-Eigenschaft

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

Eigenschaftswert

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

Implementiert

IServerSelectionFacet. . :: . .VersionMajor