Compartir a través de


IDatabaseOptions.ChangeTrackingRetentionPeriodUnits Propiedad

Specifies the units for the change tracking retention period.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<DisplayDescriptionKeyAttribute("Database_ChangeTrackingRetentionPeriodUnitsDesc")> _
<DisplayNameKeyAttribute("Database_ChangeTrackingRetentionPeriodUnitsName")> _
Property ChangeTrackingRetentionPeriodUnits As RetentionPeriodUnits 
    Get 
    Set
'Uso
Dim instance As IDatabaseOptions 
Dim value As RetentionPeriodUnits 

value = instance.ChangeTrackingRetentionPeriodUnits

instance.ChangeTrackingRetentionPeriodUnits = value
[DisplayDescriptionKeyAttribute("Database_ChangeTrackingRetentionPeriodUnitsDesc")]
[DisplayNameKeyAttribute("Database_ChangeTrackingRetentionPeriodUnitsName")]
RetentionPeriodUnits ChangeTrackingRetentionPeriodUnits { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_ChangeTrackingRetentionPeriodUnitsDesc")]
[DisplayNameKeyAttribute(L"Database_ChangeTrackingRetentionPeriodUnitsName")]
property RetentionPeriodUnits ChangeTrackingRetentionPeriodUnits {
    RetentionPeriodUnits get ();
    void set (RetentionPeriodUnits value);
}
[<DisplayDescriptionKeyAttribute("Database_ChangeTrackingRetentionPeriodUnitsDesc")>]
[<DisplayNameKeyAttribute("Database_ChangeTrackingRetentionPeriodUnitsName")>]
abstract ChangeTrackingRetentionPeriodUnits : RetentionPeriodUnits with get, set
function get ChangeTrackingRetentionPeriodUnits () : RetentionPeriodUnits 
function set ChangeTrackingRetentionPeriodUnits (value : RetentionPeriodUnits)

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo.RetentionPeriodUnits
A RetentionPeriodUnits type that specifies the units for the retention period value.

Comentarios

You can select Minutes, Hours, Days, Weeks, Months or Years. The default value is Days. The minimum retention period is 1 minute. There is no maximum retention period.

Vea también

Referencia

IDatabaseOptions Interfaz

Espacio de nombres Microsoft.SqlServer.Management.Smo