Jaa


IEndpointSwitch.SwitchEndpoint Method ()

 

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.

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

void SwitchEndpoint()
Sub SwitchEndpoint

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 SwitchEndpoint switches the current endpoint to the alternate endpoint. Conversely, if the current endpoint for the organization is the alternate endpoint, calling SwitchEndpoint switches the current endpoint to the primary endpoint.

See Also

HandleEndpointSwitch
ServiceUrls
IEndpointSwitch Interface
Microsoft.Xrm.Sdk.Client Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright