Condividi tramite


Proprietà Table.ChangeTrackingEnabled

Gets or sets a value that indicates whether change tracking is enabled for the table.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Deploy)> _
Public Property ChangeTrackingEnabled As Boolean 
    Get 
    Set
'Utilizzo
Dim instance As Table 
Dim value As Boolean 

value = instance.ChangeTrackingEnabled

instance.ChangeTrackingEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy)]
public bool ChangeTrackingEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::Deploy)]
public:
virtual property bool ChangeTrackingEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy)>]
abstract ChangeTrackingEnabled : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy)>]
override ChangeTrackingEnabled : bool with get, set
final function get ChangeTrackingEnabled () : boolean 
final function set ChangeTrackingEnabled (value : boolean)

Valore proprietà

Tipo: System.Boolean
true if change tracking is enabled for the table; otherwise, false.

Implementa

ITableOptions.ChangeTrackingEnabled

Vedere anche

Riferimento

Table Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

CREATE TABLE (Transact-SQL)