你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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