Export (0) Print
Expand All

CrmOutlookService.GoOffline Method

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Takes Microsoft Dynamics CRM for Outlook into an offline state and triggers a synchronization of the offline database with the online server.

Syntax

[Visual Basic .NET]
Public Sub GoOffline()
[C#]
public void GoOffline();

Parameters

This method takes no parameters.

Return Value

No return value.

Remarks

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

Throws an InvalidOperationException if the client is not loaded, the CRM Desktop client is installed or if the client is offline.

Requirements

Namespace: Microsoft.Crm.Outlook.Sdk

Assembly: Microsoft.Crm.Outlook.Sdk.dll

See Also

Tasks

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2015 Microsoft