Jaa


CrmOutlookService.Sync Method (OutlookSyncType)

 

Applies To: Dynamics CRM 2015

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.

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

Syntax

public void Sync(
    OutlookSyncType syncType
)
public:
void Sync(
    OutlookSyncType syncType
)
member Sync : 
        syncType:OutlookSyncType -> unit
Public Sub Sync (
    syncType As OutlookSyncType
)

Parameters

Remarks

Triggers a synchronization event between Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access and the Microsoft Dynamics CRM Server. The synchronization occurs in the background and there is no user interaction. If there is a failure during synchronization there is no feedback provided. The method is synchronous and will not return until the synchronization operation is completed.

Throws an InvalidOperationException if the client is not loaded, Dynamics CRM for Outlook client (no offline access) is installed or if the client is offline.

Throws an ArgumentException if the syncType is not supported.

See Also

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

Return to top

© 2016 Microsoft. All rights reserved. Copyright