CrmOutlookService Class

 

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

Provides methods for interacting with Dynamics 365 for Outlook.

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

Inheritance Hierarchy

System.Object
  Microsoft.Crm.Outlook.Sdk.CrmOutlookService

Syntax

public sealed class CrmOutlookService
Public NotInheritable Class CrmOutlookService

Constructors

Name Description
System_CAPS_pubmethod CrmOutlookService()

Initializes a new instance of the CrmOutlookService class.

Properties

Name Description
System_CAPS_pubproperty IsCrmClientLoaded

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

System_CAPS_pubproperty IsCrmClientOffline

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

System_CAPS_pubproperty IsCrmDesktopClient

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

System_CAPS_pubproperty ServerUri

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

System_CAPS_pubproperty State

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

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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.

System_CAPS_pubmethod GoOnline()

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

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.

See Also

Microsoft.Crm.Outlook.Sdk Namespace
Write custom code for Microsoft Dynamics 365 for Outlook
Sample: Use Dynamics 365 for Outlook methods

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright