AzureSqlServerCmdletBase.ValidateSoftDeleteRetentionDays Method

Definition

Validates the SoftDeleteRetentionDays parameter is within the supported range. A value of 0 disables soft-delete; values 1-7 enable soft-delete with the given retention period.

protected void ValidateSoftDeleteRetentionDays(int? softDeleteRetentionDays);
member this.ValidateSoftDeleteRetentionDays : Nullable<int> -> unit
Protected Sub ValidateSoftDeleteRetentionDays (softDeleteRetentionDays As Nullable(Of Integer))

Parameters

softDeleteRetentionDays
Nullable<Int32>

The soft delete retention days value

Applies to