This documentation is archived and is not being maintained.

CrmOutlookService.SetOffline Method

Dynamics
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Sets Microsoft Dynamics CRM for Outlook into an offline state without triggering a synchronization of the offline database with the online server.

Syntax

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

Parameters

This method takes no parameters.

Return Value

No return value.

Remarks

Throws an InvalidOperationException if the client is not loaded, Microsoft Dynamics CRM for Outlook is installed, or if the client is offline.

Requirements

Namespace: Microsoft.Crm.Outlook.Sdk

Assembly: Microsoft.Crm.Outlook.Sdk.dll

See Also


© 2010 Microsoft Corporation. All rights reserved.


Show: