Share via


CrmOutlookService.SetOffline Method ()

 

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

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

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

Syntax

public void SetOffline()
Public Sub SetOffline

Remarks

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.

See Also

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright