共用方式為


ITableOptions.ChangeTrackingEnabled 屬性

Gets or sets the Boolean value that determines whether change tracking is enabled on the table.

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

語法

'宣告
<DisplayNameKeyAttribute("Table_ChangeTrackingEnabledName")> _
<DisplayDescriptionKeyAttribute("Table_ChangeTrackingEnabledDesc")> _
Property ChangeTrackingEnabled As Boolean 
    Get 
    Set
'用途
Dim instance As ITableOptions 
Dim value As Boolean 

value = instance.ChangeTrackingEnabled

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

屬性值

型別:System.Boolean
A Boolean value that determines whether change tracking is enabled on the table.If True, change tracking is enabled on the table. Otherwise, False.

請參閱

參考

ITableOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間