Proprietà CurrentVersion

Gets the version of the instance of SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property CurrentVersion As ServerVersion
    Get
'Utilizzo
Dim instance As UnknownPropertyException
Dim value As ServerVersion

value = instance.CurrentVersion
public ServerVersion CurrentVersion { get; }
public:
property ServerVersion^ CurrentVersion {
    ServerVersion^ get ();
}
member CurrentVersion : ServerVersion
function get CurrentVersion () : ServerVersion

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Common. . :: . .ServerVersion
A ServerVersion object value that specifies the version of the instance of SQL Server.