AvailabilityGroup.FailoverWithPotentialDataLoss 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.
Perform a force 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 the possibility of data loss if the databases on the replica are not synchronized with the primary.
public void FailoverWithPotentialDataLoss ();
member this.FailoverWithPotentialDataLoss : unit -> unit
Public Sub FailoverWithPotentialDataLoss ()