IDatabaseOptions.CompatibilityLevel Property
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("Database_CompatibilityLevelName")> _
<DisplayDescriptionKeyAttribute("Database_CompatibilityLevelDesc")> _
Property CompatibilityLevel As CompatibilityLevel
Get
Set
'Usage
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)