Share via


CrmOutlookService.GoOnline Method ()

 

Applies To: Dynamics CRM 2015

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

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

Syntax

public void GoOnline()
public:
void GoOnline()
member GoOnline : unit -> unit
Public Sub GoOnline

Remarks

Replays all the operations that were performed while Microsoft Dynamics CRM 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.

Warning

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

See Also

CrmOutlookService Class
Microsoft.Crm.Outlook.Sdk Namespace
Sample: Use CRM for Outlook methods

Return to top

© 2016 Microsoft. All rights reserved. Copyright