Partager via


Propriété IEndpointSwitch.EndpointAutoSwitchEnabled

S'applique à: CRM 2015 on-prem, CRM Online

Gets or sets whether automatic switching from the current endpoint of the web service to an alternate endpoint is enabled.

Espace de noms: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

'Déclaration
Property EndpointAutoSwitchEnabled As Boolean
bool EndpointAutoSwitchEnabled { get; set; }

Valeur de propriété

Type: Booléen
true if the automatic switching is enabled; otherwise, false.

Remarques

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.

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Interface de IEndpointSwitch
Membres IEndpointSwitch
Espace de noms Microsoft.Xrm.Sdk.Client

Autres ressources

Disaster Recovery in Microsoft Dynamics CRM Online

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.