Muistiinpano
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoa.
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoa.
Gets the version of the instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Property CurrentVersion As ServerVersion
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Common.ServerVersion
A ServerVersion object value that specifies the version of the instance of SQL Server.