Delen via


CrmOutlookService.Sync-methode

Van toepassing op: CRM 2015 on-prem, CRM Online

Triggers a synchronization event between Microsoft Dynamics CRM voor Microsoft Office Outlook met offlinetoegang in Microsoft Office Outlook and the Microsoft Dynamics CRM server.

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

Syntaxis

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

Parameters

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

Opmerkingen

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

Throws an ArgumentException if the syncType is not supported.

Thread-veiligheid

Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.

Platforms

Ontwikkelplatforms

Windows Vista, Windows Server 2003, en

Doelplatforms

Windows Vista,Windows XP

Zie ook

Verwijzing

CrmOutlookService-klasse
CrmOutlookService-leden
Microsoft.Crm.Outlook.Sdk-naamruimte

Overige resources

Sample: Use Outlook Methods

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