Condividi tramite


Proprietà IDatabaseOptions.ChangeTrackingRetentionPeriod

Gets or sets an interval that specifies how long change tracking information is retained.

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

Sintassi

'Dichiarazione
<DisplayNameKeyAttribute("Database_ChangeTrackingRetentionPeriodName")> _
<DisplayDescriptionKeyAttribute("Database_ChangeTrackingRetentionPeriodDesc")> _
Property ChangeTrackingRetentionPeriod As Integer 
    Get 
    Set
'Utilizzo
Dim instance As IDatabaseOptions 
Dim value As Integer 

value = instance.ChangeTrackingRetentionPeriod

instance.ChangeTrackingRetentionPeriod = value
[DisplayNameKeyAttribute("Database_ChangeTrackingRetentionPeriodName")]
[DisplayDescriptionKeyAttribute("Database_ChangeTrackingRetentionPeriodDesc")]
int ChangeTrackingRetentionPeriod { get; set; }
[DisplayNameKeyAttribute(L"Database_ChangeTrackingRetentionPeriodName")]
[DisplayDescriptionKeyAttribute(L"Database_ChangeTrackingRetentionPeriodDesc")]
property int ChangeTrackingRetentionPeriod {
    int get ();
    void set (int value);
}
[<DisplayNameKeyAttribute("Database_ChangeTrackingRetentionPeriodName")>]
[<DisplayDescriptionKeyAttribute("Database_ChangeTrackingRetentionPeriodDesc")>]
abstract ChangeTrackingRetentionPeriod : int with get, set
function get ChangeTrackingRetentionPeriod () : int 
function set ChangeTrackingRetentionPeriod (value : int)

Valore proprietà

Tipo: System.Int32
An Integer value that specifies how long change tracking information is retained, in units defined by the ChangeTrackingRetentionPeriodUnits property.

Vedere anche

Riferimento

IDatabaseOptions Interfaccia

Spazio dei nomi Microsoft.SqlServer.Management.Smo

ChangeTrackingRetentionPeriodUnits