Share via


IDatabase.CompatibilityLevel Property

Gets the collation of the database.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property CompatibilityLevel As DatabaseCompatibilityLevel
    Get
'Usage
Dim instance As IDatabase
Dim value As DatabaseCompatibilityLevel

value = instance.CompatibilityLevel
DatabaseCompatibilityLevel CompatibilityLevel { get; }
property DatabaseCompatibilityLevel CompatibilityLevel {
    DatabaseCompatibilityLevel get ();
}
abstract CompatibilityLevel : DatabaseCompatibilityLevel
function get CompatibilityLevel () : DatabaseCompatibilityLevel

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Common.DatabaseCompatibilityLevel
The collation of the database.