ServiceProxySwitchToAlternateEndpoint Method
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Switches the organization’s current endpoint to an alternate endpoint, if one is available.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
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.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright