共用方式為


ChangeTrackingEnabled 屬性

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("Database_ChangeTrackingEnabledName")> _
<DisplayDescriptionKeyAttribute("Database_ChangeTrackingEnabledDesc")> _
Property ChangeTrackingEnabled As Boolean
    Get
    Set
'用途
Dim instance As IDatabaseOptions
Dim value As Boolean

value = instance.ChangeTrackingEnabled

instance.ChangeTrackingEnabled = value
[DisplayNameKeyAttribute("Database_ChangeTrackingEnabledName")]
[DisplayDescriptionKeyAttribute("Database_ChangeTrackingEnabledDesc")]
bool ChangeTrackingEnabled { get; set; }
[DisplayNameKeyAttribute(L"Database_ChangeTrackingEnabledName")]
[DisplayDescriptionKeyAttribute(L"Database_ChangeTrackingEnabledDesc")]
property bool ChangeTrackingEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Database_ChangeTrackingEnabledName")>]
[<DisplayDescriptionKeyAttribute("Database_ChangeTrackingEnabledDesc")>]
abstract ChangeTrackingEnabled : bool with get, set
function get ChangeTrackingEnabled () : boolean
function set ChangeTrackingEnabled (value : boolean)

屬性值

型別:System. . :: . .Boolean