你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureSqlFailoverGroupCmdletBase.ComputeEffectiveGracePeriod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- policy
- FailoverPolicy
Returns
The grace period