Свойство VersionMajor

Gets the portion of a component version identifier to the left of the first decimal point in the identifier.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayDescriptionKeyAttribute("Server_VersionMajorDesc")> _
<DisplayNameKeyAttribute("Server_VersionMajorName")> _
ReadOnly Property VersionMajor As Integer
    Get
'Применение
Dim instance As IServerInformation
Dim value As Integer

value = instance.VersionMajor
[DisplayDescriptionKeyAttribute("Server_VersionMajorDesc")]
[DisplayNameKeyAttribute("Server_VersionMajorName")]
int VersionMajor { get; }
[DisplayDescriptionKeyAttribute(L"Server_VersionMajorDesc")]
[DisplayNameKeyAttribute(L"Server_VersionMajorName")]
property int VersionMajor {
    int get ();
}
[<DisplayDescriptionKeyAttribute("Server_VersionMajorDesc")>]
[<DisplayNameKeyAttribute("Server_VersionMajorName")>]
abstract VersionMajor : int
function get VersionMajor () : int

Значение свойства

Тип: System. . :: . .Int32
Int32