IEndpointSwitch.EndpointAutoSwitchEnabled Property


Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets whether automatic switching from the current endpoint of the web service to an alternate endpoint is enabled.

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

bool EndpointAutoSwitchEnabled { get; set; }

Property Value

Type: System.Boolean

Type: Boolean
true if the automatic switching is enabled; otherwise, false.

Set to true by default for organizations that support disaster recover where an alternate endpoint is available. This property relates only to what the client-side SDK classes do, for example OrganizationServiceProxy, and does not alter the Microsoft Dynamics 365 server functionality in any way. Setting this property to false for an organization that is disaster failover enabled causes the client SDK classes to not attempt switching the endpoints if a failover is required.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright