CrmOutlookService.GoOnline Method ()

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Synchronizes Microsoft Dynamics 365 for Microsoft Office Outlook with Offline Access with the online Microsoft Dynamics 365 server.

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

public void GoOnline()

Replays all the operations that were performed while Microsoft Dynamics 365 for Microsoft Office Outlook with Offline Access was offline to the server. This method is synchronous and triggers UI interaction with the user. If there are errors during the playback, the method will not return until the error dialog box is dismissed.

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: