Sdílet prostřednictvím


AzureSqlFailoverGroupCmdletBase.ComputeEffectiveGracePeriod Method

Definition

Interprets and returns the lossy automatic failover grace period provided by the user.

protected int? ComputeEffectiveGracePeriod (Microsoft.Azure.Commands.Sql.FailoverGroup.Model.FailoverPolicy policy, int? originalGracePeriod);
member this.ComputeEffectiveGracePeriod : Microsoft.Azure.Commands.Sql.FailoverGroup.Model.FailoverPolicy * Nullable<int> -> Nullable<int>
Protected Function ComputeEffectiveGracePeriod (policy As FailoverPolicy, originalGracePeriod As Nullable(Of Integer)) As Nullable(Of Integer)

Parameters

originalGracePeriod
Nullable<Int32>

Returns

The grace period

Applies to