CrmOutlookService Class

Definition

Provides methods for interacting with Dynamics 365 for Outlook.

public ref class CrmOutlookService sealed
public sealed class CrmOutlookService
type CrmOutlookService = class
Public NotInheritable Class CrmOutlookService
Inheritance
CrmOutlookService

Constructors

CrmOutlookService()

Initializes a new instance of the CrmOutlookService class.

Properties

IsCrmClientLoaded

Gets a value that indicates whether Dynamics 365 for Outlook is loaded by Microsoft Office Outlook.

IsCrmClientOffline

Gets a value that indicates whether Microsoft Dynamics 365 for Microsoft Office Outlook with Offline Access is offline.

IsCrmDesktopClient

Gets a value that indicates whether Dynamics 365 for Outlook is installed. This version has no offline access.

ServerUri

Gets the server URI to use to connect to the Microsoft Dynamics 365 server based on the state of Dynamics 365 for Outlook.

State

Gets the state of Microsoft Dynamics 365 for Microsoft Office Outlook with Offline Access.

Methods

GoOffline()

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

GoOnline()

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

SetOffline()

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.

Sync(OutlookSyncType)

Triggers a synchronization event between Microsoft Dynamics 365 for Microsoft Office Outlook with Offline Access in Microsoft Office Outlook and the Microsoft Dynamics 365 server.

Applies to