Del via


CrmOutlookService.Sync-metode

Triggers a synchronization event between Microsoft Dynamics CRM til Microsoft Office Outlook med offlineadgang in Microsoft Office Outlook and the Microsoft Dynamics CRM server.

Navneområde: Microsoft.Crm.Outlook.Sdk
Assembly: Microsoft.Crm.Outlook.Sdk (i Microsoft.Crm.Outlook.Sdk.dll)

Syntaks

'Deklaration
Public Sub Sync ( _
    syncType As OutlookSyncType _
)
public void Sync (
    OutlookSyncType syncType
)

Parametre

  • syncType
    Type: OutlookSyncType. The target to which synchronization needs to be triggered: Outlook, the Microsoft Dynamics CRM Address Book Provider or the Offline database.

Bemærkninger

Triggers a synchronization event between Microsoft Dynamics CRM til Microsoft Office Outlook med offlineadgang 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 til Outlook client (no offline access) is installed or if the client is offline.

Throws an ArgumentException if the syncType is not supported.

Sikkerhed i tråd

Alle offentlige statiske (Shared i Visual Basic) medlemmer af denne type er trådsikret. Alle medlemmer af forekomsten er ikke garanteret trådsikkerhed.

Platforme

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Se også

Reference

CrmOutlookService-klasse
CrmOutlookService-medlemmer
Microsoft.Crm.Outlook.Sdk-navneområde

Andre ressourcer

Sample: Use Outlook Methods

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.