Share via


CrmOutlookService Class

 

Applies To: Dynamics CRM 2015

Provides methods for interacting with Dynamics CRM 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 ref class CrmOutlookService sealed 
[<Sealed>]
type CrmOutlookService = class end
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 CRM for Outlook is loaded by Microsoft Office Outlook.

System_CAPS_pubproperty IsCrmClientOffline

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

System_CAPS_pubproperty IsCrmDesktopClient

Gets a value that indicates whether Dynamics CRM 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 CRM server based on the state of Dynamics CRM for Outlook.

System_CAPS_pubproperty State

Gets the state of Microsoft Dynamics CRM 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 CRM 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 CRM for Microsoft Office Outlook with Offline Access with the online Microsoft Dynamics CRM server.

System_CAPS_pubmethod SetOffline()

Sets Microsoft Dynamics CRM 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 CRM for Microsoft Office Outlook with Offline Access in Microsoft Office Outlook and the Microsoft Dynamics CRM 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 CRM for Outlook
Sample: Use CRM for Outlook methods

Return to top

© 2016 Microsoft. All rights reserved. Copyright