UnknownPropertyException.CurrentVersion Property
Applies To: SQL Server 2016 Preview
Gets the version of the instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
public ServerVersion CurrentVersion { get; }
public:
property ServerVersion^ CurrentVersion {
ServerVersion^ get();
}
member CurrentVersion : ServerVersion with get
Public ReadOnly Property CurrentVersion As ServerVersion
Property Value
Type: Microsoft.SqlServer.Management.Common.ServerVersion
A ServerVersion object value that specifies the version of the instance of SQL Server.
Examples
Legacy Code Example
See Also
UnknownPropertyException Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top