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