Compartilhar via


Propriedade CompatibilityLevel

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

Sintaxe

'Declaração
<DisplayNameKeyAttribute("Database_CompatibilityLevelName")> _
<DisplayDescriptionKeyAttribute("Database_CompatibilityLevelDesc")> _
Property CompatibilityLevel As CompatibilityLevel
    Get
    Set
'Uso
Dim instance As IDatabaseOptions
Dim value As CompatibilityLevel

value = instance.CompatibilityLevel

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