Database.ChangeTrackingRetentionPeriodUnits 속성

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

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Deploy)> _
Public Property ChangeTrackingRetentionPeriodUnits As RetentionPeriodUnits 
    Get 
    Set
‘사용 방법
Dim instance As Database 
Dim value As RetentionPeriodUnits 

value = instance.ChangeTrackingRetentionPeriodUnits

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

속성 값

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

구현

IDatabaseOptions.ChangeTrackingRetentionPeriodUnits

주의

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.

참고 항목

참조

Database 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

변경 내용 추적 설정 및 해제(SQL Server)