Condividi tramite


Proprietà IDatabaseOptions.CompatibilityLevel

Gets or sets the compatibility level for a database.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("Database_CompatibilityLevelDesc")> _
<DisplayNameKeyAttribute("Database_CompatibilityLevelName")> _
Property CompatibilityLevel As CompatibilityLevel 
    Get 
    Set
'Utilizzo
Dim instance As IDatabaseOptions 
Dim value As CompatibilityLevel 

value = instance.CompatibilityLevel

instance.CompatibilityLevel = value
[DisplayDescriptionKeyAttribute("Database_CompatibilityLevelDesc")]
[DisplayNameKeyAttribute("Database_CompatibilityLevelName")]
CompatibilityLevel CompatibilityLevel { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_CompatibilityLevelDesc")]
[DisplayNameKeyAttribute(L"Database_CompatibilityLevelName")]
property CompatibilityLevel CompatibilityLevel {
    CompatibilityLevel get ();
    void set (CompatibilityLevel value);
}
[<DisplayDescriptionKeyAttribute("Database_CompatibilityLevelDesc")>]
[<DisplayNameKeyAttribute("Database_CompatibilityLevelName")>]
abstract CompatibilityLevel : CompatibilityLevel with get, set
function get CompatibilityLevel () : CompatibilityLevel 
function set CompatibilityLevel (value : CompatibilityLevel)

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.CompatibilityLevel
A CompatibilityLevel value that specifies the compatibility level for a database.

Vedere anche

Riferimento

IDatabaseOptions Interfaccia

Spazio dei nomi Microsoft.SqlServer.Management.Smo