IEndpointSwitch Members

Represents the switching of a web service endpoint for an organization from a primary URL to an alternate URL.

The following tables list the members exposed by the IEndpointSwitch type.

Public Properties

  Name Description
public property AlternateEndpoint Gets the alternate web service endpoint for accessing an organization, if one exists.
public property EndpointAutoSwitchEnabled Gets or sets whether automatic switching from the current endpoint of the web service to an alternate endpoint is enabled.
public property IsPrimaryEndpoint Gets whether the organization’s current endpoint is the primary endpoint.
public property PrimaryEndpoint Gets the primary web service endpoint for accessing an organization.

Top

Public Methods

  Name Description
public method CanSwitch Checks if the specified endpoint URI is different from the organization’s alternate endpoint URI.
public method HandleEndpointSwitch Fires the EndpointSwitchRequired event, then if EndpointAutoSwitchEnabled is true, switches the organization’s endpoints by calling SwitchEndpoint.
public method SwitchEndpoint Switches the organization’s current endpoint to an alternate endpoint.

Top

Public Events

  Name Description
public event EndpointSwitched Notification event that a failover has completed and the organization’s current endpoint has been switched to an alternate endpoint.
public event EndpointSwitchRequired Notification event that a failover has occurred and a switch from the organization’s current endpoint to an alternate endpoint is required.

Top

See Also

Reference

IEndpointSwitch Interface
Microsoft.Xrm.Sdk.Client Namespace

Other Resources

Disaster Recovery in Microsoft Dynamics CRM Online

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.