Partajați prin


IEndpointSwitch.SwitchEndpoint Method ()

 

Applies To: Dynamics CRM 2015

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()
void SwitchEndpoint()
abstract SwitchEndpoint : unit -> unit
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

© 2016 Microsoft. All rights reserved. Copyright