CrmOutlookService.GoOnline Method
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online
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
'Declaration
Public Sub GoOnline
public void 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, CRM for Outlook client (no offline access) is installed or if the client is offline.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)
Target Platforms
Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),
Change History
See Also
Reference
CrmOutlookService Class
CrmOutlookService Members
Microsoft.Crm.Outlook.Sdk Namespace
Other Resources
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.