VersionMajor 속성
Gets the major version number of the instance of SQL Server.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property VersionMajor As Integer
Get
‘사용 방법
Dim instance As Information
Dim value As Integer
value = instance.VersionMajor
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public int VersionMajor { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property int VersionMajor {
int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member VersionMajor : int
function get VersionMajor () : int
속성 값
형식: System. . :: . .Int32
An Int32 object that specifies the major version number of the instance of SQL Server.