Compartir a través de


VersionMajor Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public ReadOnly Property VersionMajor As Integer
    Get
'Uso
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

Valor de la propiedad

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

Implementa

IServerSelectionFacet. . :: . .VersionMajor