共用方式為


VersionMajor 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property VersionMajor As Integer
    Get
'用途
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

屬性值

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

實作

IServerSelectionFacet. . :: . .VersionMajor