IEndpointSwitch.EndpointAutoSwitchEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether automatic switching from the current endpoint of the web service to an alternate endpoint is enabled.
public:
property bool EndpointAutoSwitchEnabled { bool get(); void set(bool value); };
public bool EndpointAutoSwitchEnabled { get; set; }
member this.EndpointAutoSwitchEnabled : bool with get, set
Public Property EndpointAutoSwitchEnabled As Boolean
Property Value
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.