ServiceProxy<TService>.SwitchToAlternateEndpoint Method

Definition

Switches the organization’s current endpoint to an alternate endpoint, if one is available.

public:
 bool SwitchToAlternateEndpoint();
public bool SwitchToAlternateEndpoint ();
member this.SwitchToAlternateEndpoint : unit -> bool
Public Function SwitchToAlternateEndpoint () As Boolean

Returns

true if the switch was successful; otherwise, false.

Remarks

When an organization is provisioned for disaster recovery failover, that organization has a primary endpoint and an alternate endpoint. If the current endpoint in use for the organization is the primary endpoint, calling SwitchToAlternateEndpoint() switches the current endpoint to the alternate endpoint. Conversely, if the current endpoint for the organization is the alternate endpoint, calling SwitchToAlternateEndpoint() switches the current endpoint to the primary endpoint.

Applies to

See also