Proprietà VersionMajor
Gets the major version number of the instance of SQL Server.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property VersionMajor As Integer
Get
'Utilizzo
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
Valore proprietà
Tipo: System. . :: . .Int32
An Int32 object that specifies the major version number of the instance of SQL Server.
Vedere anche