EndpointAutoSwitchEnabled Property
Collapse the table of content
Expand the table of content

IEndpointSwitch.EndpointAutoSwitchEnabled Property


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 CRM 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 CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

© 2016 Microsoft