Partager via


IEndpointSwitch.EndpointAutoSwitchEnabled Property

 

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)

Syntax

bool EndpointAutoSwitchEnabled { get; set; }
Property EndpointAutoSwitchEnabled As Boolean

Property Value

Type: System.Boolean

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

Remarks

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.

See Also

IEndpointSwitch Interface
Microsoft.Xrm.Sdk.Client Namespace
Disaster recovery in Microsoft Dynamics 365 (online)

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright