Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.