Partilhar via


AvailabilityGroup.Failover Method

Definition

Perform a manual failover of this availability group to the server specified by the Parent property. This server should be participating in the availability group as a secondary replica. The result of the action will be to designate this server as the primary of this availability group. This action has no possibility of data loss.

public void Failover ();
member this.Failover : unit -> unit
Public Sub Failover ()

Applies to