AvailabilityGroupQuorumValidationTask Class

Definition

Validates the quorum vote configuration of the given availability group. Nodes participating in an AG should only have a quroum vote if they can host the primary replica or if the can host a automatic secondary partnered with the primary. Note the use of 'can' is due to the potential presence of FCIs. Although this task is like a validator but it must be derived from task to fit into the task provider

C#
public class AvailabilityGroupQuorumValidationTask : Microsoft.SqlServer.Management.HadrModel.HadrTask
Inheritance
AvailabilityGroupQuorumValidationTask

Constructors

Fields

policy

ExecutionPolicy for retry or expire the process.

(Inherited from HadrTask)

Properties

IsCancelled

IsCancelled for derived class to check for long running tasks and termnate early

(Inherited from HadrTask)
Name

Task name

(Inherited from HadrTask)

Methods

Perform(IExecutionPolicy, CancellationToken, ScenarioTaskHandler)

Execute task steps. If a delegate is passed, then the delegate is executed with a policy. Otherwise, the derived class logic is executed

(Inherited from HadrTask)
Perform(IExecutionPolicy)

Validates the quorum vote configuration of the given availability group.

Rollback(IExecutionPolicy, ScenarioTaskHandler)

Rollback task completed steps. If a delegate is passed, then the delegate is executed with a policy. Otherwise, the derived class logic is executed

(Inherited from HadrTask)
Rollback(IExecutionPolicy)

No support for rolling back in this task

TaskUpdateEventHandler(Object, TaskEventArgs)

Tasks status event handler

(Inherited from HadrTask)
TaskWait(Int32)

For isCancelled Check

(Inherited from HadrTask)
UpdateStatus(TaskEventArgs)

Send tasks execution update event

(Inherited from HadrTask)

Events

TaskProgressEventHandler

Task progress event handler

(Inherited from HadrTask)

Applies to

Produkt Verzie
Microsoft.SqlServer.SqlManagementObjects 160.2004021.0