共用方式為


ServiceProxy<TService>.EndpointAutoSwitchEnabled Property

Definition

Gets or sets a value that enables automatic switching from the organization’s current endpoint to an alternate endpoint.

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 to enable automatic switching from the organization’s current endpoint to an alternate endpoint; otherwise, false.

Remarks

Set to true by default for organizations that support disaster recover failover where an alternate endpoint is available.

Applies to