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 | |
---|---|---|
CrmOutlookService() | Initializes a new instance of the CrmOutlookService class. |
Properties
Name | Description | |
---|---|---|
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
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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. |
|
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