Metodo CrmOutlookService.GoOffline

Si applica a: CRM 2015 on-prem, CRM Online

Takes Microsoft Dynamics CRM per Microsoft Office Outlook con accesso offline into an offline state and triggers a synchronization of the offline database with the online server.

Spazio dei nomi: Microsoft.Crm.Outlook.Sdk
Assembly: Microsoft.Crm.Outlook.Sdk (in Microsoft.Crm.Outlook.Sdk.dll)

Sintassi

'Dichiarazione
Public Sub GoOffline
public void GoOffline ()

Note

This method is synchronous and triggers UI interaction with the user. If there are errors when taking CRM per Outlook offline, the method will not return until the error dialog box is dismissed.

Avviso

Because this function triggers UI interaction with the user it cannot be used within a plugin. This can cause the process to stop responding or cause unexpected behavior.

Throws an InvalidOperationException if the client is not loaded, CRM per Outlook client (no offline access) is installed or if the client is offline.

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

Change History

Vedere anche

Riferimento

Classe CrmOutlookService
Membri CrmOutlookService
Spazio dei nomi Microsoft.Crm.Outlook.Sdk

Altre risorse

Sample: Use Outlook Methods

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