다음을 통해 공유


CompatibilityLevel 속성

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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)