CompatibilityLevel 属性
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<DisplayNameKeyAttribute("Database_CompatibilityLevelName")> _
<DisplayDescriptionKeyAttribute("Database_CompatibilityLevelDesc")> _
Property CompatibilityLevel As CompatibilityLevel
Get
Set
用法
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)