Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.