다음을 통해 공유


VersionMajor 속성

Gets the VersionMajor property value.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property VersionMajor As Integer
    Get
‘사용 방법
Dim instance As Server
Dim value As Integer

value = instance.VersionMajor
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public int VersionMajor { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
virtual property int VersionMajor {
    int get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
abstract VersionMajor : int
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
override VersionMajor : int
final function get VersionMajor () : int

속성 값

형식: System. . :: . .Int32
Int32

구현

IServerInformation. . :: . .VersionMajor