Método CrmOutlookService.GoOffline

Aplica-se a: CRM 2015 on-prem, CRM Online

Takes Microsoft Dynamics CRM para Microsoft Office Outlook com Acesso Offline into an offline state and triggers a synchronization of the offline database with the online server.

Namespace: Microsoft.Crm.Outlook.Sdk
Assembly: Microsoft.Crm.Outlook.Sdk (em Microsoft.Crm.Outlook.Sdk.dll)

Sintaxe

'Declaração
Public Sub GoOffline
public void GoOffline ()

Comentários

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

Aviso

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 para Outlook client (no offline access) is installed or if the client is offline.

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

Windows Vista,Windows XP

Change History

Consulte também

Referência

Classe CrmOutlookService
Membros de CrmOutlookService
Namespace Microsoft.Crm.Outlook.Sdk

Outros recursos

Sample: Use Outlook Methods

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