Aracılığıyla paylaş


IServerSelectionFacet.VersionMajor Property

Gets the major digits of the version information.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
<DisplayDescriptionKeyAttribute("Server_VersionMajorDesc")> _
<DisplayNameKeyAttribute("Server_VersionMajorName")> _
ReadOnly Property VersionMajor As Integer
    Get
'Kullanım
Dim instance As IServerSelectionFacet
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

Property Value

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

See Also

Reference

IServerSelectionFacet Interface

Microsoft.SqlServer.Management.Smo Namespace