Compartir a través de


ChangeTrackingRetentionPeriodUnits Propiedad

Gets or sets the unit type for a retention period value.

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

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public Property ChangeTrackingRetentionPeriodUnits As RetentionPeriodUnits
    Get
    Set
'Uso
Dim instance As Database
Dim value As RetentionPeriodUnits

value = instance.ChangeTrackingRetentionPeriodUnits

instance.ChangeTrackingRetentionPeriodUnits = value
[SfcPropertyAttribute]
public RetentionPeriodUnits ChangeTrackingRetentionPeriodUnits { get; set; }
[SfcPropertyAttribute]
public:
virtual property RetentionPeriodUnits ChangeTrackingRetentionPeriodUnits {
    RetentionPeriodUnits get () sealed;
    void set (RetentionPeriodUnits value) sealed;
}
[<SfcPropertyAttribute>]
abstract ChangeTrackingRetentionPeriodUnits : RetentionPeriodUnits with get, set
[<SfcPropertyAttribute>]
override ChangeTrackingRetentionPeriodUnits : RetentionPeriodUnits with get, set
final function get ChangeTrackingRetentionPeriodUnits () : RetentionPeriodUnits
final 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.

Implementa

IDatabaseOptions. . :: . .ChangeTrackingRetentionPeriodUnits

Notas

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.