Condividi tramite


Proprietà VersionMajor

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property VersionMajor As Integer
    Get
'Utilizzo
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

Valore proprietà

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

Implementa

IServerSelectionFacet. . :: . .VersionMajor