Condividi tramite


Proprietà IEndpointSwitch.EndpointAutoSwitchEnabled

Si applica a: 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.

Spazio dei nomi: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

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

Valore proprietà

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

Note

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.

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Vedere anche

Riferimento

Interfaccia IEndpointSwitch
Membri IEndpointSwitch
Spazio dei nomi Microsoft.Xrm.Sdk.Client

Altre risorse

Disaster Recovery in Microsoft Dynamics CRM Online

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