Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Public Property Unit As TimeUnit
Get
Set
'Usage
Dim instance As ChangeRetentionChangeTrackingOptionDetail
Dim value As TimeUnit
value = instance.Unit
instance.Unit = value
public TimeUnit Unit { get; set; }
public:
property TimeUnit Unit {
TimeUnit get ();
void set (TimeUnit value);
}
member Unit : TimeUnit with get, set
function get Unit () : TimeUnit
function set Unit (value : TimeUnit)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.TimeUnit
The units value for the retention period.