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.Data.Schema.ScriptDom.Sql
Assembly: Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)
Syntax
'Declaration
Public Property Unit As RetentionUnit
public RetentionUnit Unit { get; set; }
public:
property RetentionUnit Unit {
RetentionUnit get ();
void set (RetentionUnit value);
}
member Unit : RetentionUnit with get, set
function get Unit () : RetentionUnit
function set Unit (value : RetentionUnit)
Property Value
Type: Microsoft.Data.Schema.ScriptDom.Sql.RetentionUnit
Returns a RetentionUnit enumeration value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.