Server.JoinAvailabilityGroup Server.JoinAvailabilityGroup Server.JoinAvailabilityGroup Method

Definition

Overloads

JoinAvailabilityGroup(String) JoinAvailabilityGroup(String) JoinAvailabilityGroup(String)

This method is called on a secondary replica that has been added to an Availability Group from a primary to complete the handshake. Upon successful execution the instance will become a functioning replica in the availability group.

JoinAvailabilityGroup(String, AvailabilityGroupClusterType) JoinAvailabilityGroup(String, AvailabilityGroupClusterType)

This method is called on a secondary replica that has been added to an Availability Group from a primary to complete the handshake. Upon successful execution the instance will become a functioning replica in the availability group.

JoinAvailabilityGroup(String) JoinAvailabilityGroup(String) JoinAvailabilityGroup(String)

This method is called on a secondary replica that has been added to an Availability Group from a primary to complete the handshake. Upon successful execution the instance will become a functioning replica in the availability group.

public void JoinAvailabilityGroup (string availabilityGroupName);
member this.JoinAvailabilityGroup : string -> unit
Public Sub JoinAvailabilityGroup (availabilityGroupName As String)

Parameters

availabilityGroupName
String String String

JoinAvailabilityGroup(String, AvailabilityGroupClusterType) JoinAvailabilityGroup(String, AvailabilityGroupClusterType)

This method is called on a secondary replica that has been added to an Availability Group from a primary to complete the handshake. Upon successful execution the instance will become a functioning replica in the availability group.

public void JoinAvailabilityGroup (string availabilityGroupName, Microsoft.SqlServer.Management.Smo.AvailabilityGroupClusterType availabilityGroupClusterType);
member this.JoinAvailabilityGroup : string * Microsoft.SqlServer.Management.Smo.AvailabilityGroupClusterType -> unit

Parameters

availabilityGroupName
String String String

Applies to