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)