Share via


IMutableDatabase.CompatibilityLevel Property

Gets or sets the DatabaseCompatabilityLevel value that represents the database owner.

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

Syntax

'Declaration
Property CompatibilityLevel As DatabaseCompatibilityLevel
    Get
    Set
'Usage
Dim instance As IMutableDatabase
Dim value As DatabaseCompatibilityLevel

value = instance.CompatibilityLevel

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

Property Value

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

Implements

IDatabase.CompatibilityLevel