Share via


Propriété VersionMajor

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property VersionMajor As Integer
    Get
'Utilisation
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

Valeur de propriété

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

Implémente

IServerSelectionFacet. . :: . .VersionMajor