Share via


IEndpointSwitch.EndpointAutoSwitchEnabled Property

 

Applies To: Dynamics CRM 2015

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 bool EndpointAutoSwitchEnabled {
    bool get();
    void set(bool value);
}
abstract EndpointAutoSwitchEnabled : bool with 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 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.

See Also

IEndpointSwitch Interface
Microsoft.Xrm.Sdk.Client Namespace
Disaster recovery in Microsoft Dynamics CRM Online

Return to top

© 2016 Microsoft. All rights reserved. Copyright