SqlPropertyInfo.Versions Property

Gets the version of SQL Server.

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

Syntax

'Declaration
Public ReadOnly Property Versions As SqlServerVersions
    Get
'Usage
Dim instance As SqlPropertyInfo
Dim value As SqlServerVersions

value = instance.Versions
public SqlServerVersions Versions { get; }
public:
property SqlServerVersions Versions {
    SqlServerVersions get ();
}
member Versions : SqlServerVersions
function get Versions () : SqlServerVersions

Property Value

Type: Microsoft.SqlServer.Management.Smo.SqlServerVersions
A SqlServerVersions object value that specifies the version of SQL Server.