Compartir a través de


Método CrmOutlookService.GoOffline

Se aplica a: CRM 2015 on-prem, CRM Online

Takes Microsoft Dynamics CRM para Microsoft Office Outlook con acceso sin conexión into an offline state and triggers a synchronization of the offline database with the online server.

Espacio de nombres: Microsoft.Crm.Outlook.Sdk
Ensamblado: Microsoft.Crm.Outlook.Sdk (en Microsoft.Crm.Outlook.Sdk.dll)

Sintaxis

'Declaración
Public Sub GoOffline
public void GoOffline ()

Comentarios

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.

Advertencia

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.

Seguridad de hilo

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.

Plataformas

Plataformas de desarrollo

Windows Vista, Windows Server 2003 y

Plataformas de destino

Windows Vista,Windows XP

Change History

Vea también

Referencia

Clase de CrmOutlookService
Miembros de CrmOutlookService
Espacio de nombres de Microsoft.Crm.Outlook.Sdk

Otros recursos

Sample: Use Outlook Methods

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