다음을 통해 공유


ChangeTrackingRetentionPeriodUnits 속성

Specifies the units for the change tracking retention period.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<DisplayNameKeyAttribute("Database_ChangeTrackingRetentionPeriodUnitsName")> _
<DisplayDescriptionKeyAttribute("Database_ChangeTrackingRetentionPeriodUnitsDesc")> _
Property ChangeTrackingRetentionPeriodUnits As RetentionPeriodUnits
    Get
    Set
‘사용 방법
Dim instance As IDatabaseOptions
Dim value As RetentionPeriodUnits

value = instance.ChangeTrackingRetentionPeriodUnits

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

속성 값

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

주의

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.