IServerSelectionFacet.VersionMajor 属性

Gets the major digits of the version information.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayNameKeyAttribute("Server_VersionMajorName")> _
<DisplayDescriptionKeyAttribute("Server_VersionMajorDesc")> _
ReadOnly Property VersionMajor As Integer 
    Get
用法
Dim instance As IServerSelectionFacet 
Dim value As Integer 

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

属性值

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

请参阅

参考

IServerSelectionFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间