Partilhar via


AzureSqlServerCmdletBase.ComputeSoftDeleteRetentionDays Method

Definition

Computes the SoftDeleteRetentionDays value based on provided parameters

protected int? ComputeSoftDeleteRetentionDays(int? softDeleteRetentionDays, bool? enableSoftDelete);
member this.ComputeSoftDeleteRetentionDays : Nullable<int> * Nullable<bool> -> Nullable<int>
Protected Function ComputeSoftDeleteRetentionDays (softDeleteRetentionDays As Nullable(Of Integer), enableSoftDelete As Nullable(Of Boolean)) As Nullable(Of Integer)

Parameters

softDeleteRetentionDays
Nullable<Int32>

The explicitly provided retention days

enableSoftDelete
Nullable<Boolean>

The enable soft delete flag

Returns

The computed retention days value

Applies to