Export (0) Print
Expand All

CrmOutlookService.GoOffline Method

Applies To: CRM 2015 on-prem, CRM Online

Takes Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access 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 (in Microsoft.Crm.Outlook.Sdk.dll)

public void GoOffline ()

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

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


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

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

Community Additions

ADD
Show:
© 2015 Microsoft