Aracılığıyla paylaş


UnknownPropertyException.CurrentVersion Property

Gets the version of the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public ReadOnly Property CurrentVersion As ServerVersion
    Get
'Kullanım
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.

Examples

Handling SMO Exceptions

See Also

Reference

UnknownPropertyException Class

Microsoft.SqlServer.Management.Smo Namespace