UnknownPropertyException.CurrentVersion UnknownPropertyException.CurrentVersion UnknownPropertyException.CurrentVersion Property

Definition

Gets the version of the instance of SQL Server.

public:
 property Microsoft::SqlServer::Management::Common::ServerVersion ^ CurrentVersion { Microsoft::SqlServer::Management::Common::ServerVersion ^ get(); };
public Microsoft.SqlServer.Management.Common.ServerVersion CurrentVersion { get; }
Public ReadOnly Property CurrentVersion As ServerVersion
Property Value
Microsoft.SqlServer.Management.Common.ServerVersion Microsoft.SqlServer.Management.Common.ServerVersion Microsoft.SqlServer.Management.Common.ServerVersion

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

Examples

Handling SMO Exceptions

Applies to