ChangeRetentionChangeTrackingOptionDetail.Unit Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the units (days|hours|minutes) value for the retention period.

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

public TimeUnit Unit { get; set; }
public:
property TimeUnit Unit {
    TimeUnit get();
    void set(TimeUnit value);
}
member Unit : TimeUnit with get, set
Public Property Unit As TimeUnit

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.TimeUnit

The units value for the retention period.

See Also

ChangeRetentionChangeTrackingOptionDetail Class
Microsoft.SqlServer.TransactSql.ScriptDom Namespace

Return to top