Méthode CrmOutlookService.Sync
S'applique à: CRM 2015 on-prem, CRM Online
Triggers a synchronization event between Microsoft Dynamics CRM pour Microsoft Office Outlook avec accès hors connexion in Microsoft Office Outlook and the Microsoft Dynamics CRM server.
Espace de noms: Microsoft.Crm.Outlook.Sdk
Assembly: Microsoft.Crm.Outlook.Sdk (dans Microsoft.Crm.Outlook.Sdk.dll)
Syntaxe
'Déclaration
Public Sub Sync ( _
syncType As OutlookSyncType _
)
public void Sync (
OutlookSyncType syncType
)
Paramètres
- syncType
Type: OutlookSyncType. The target to which synchronization needs to be triggered: Outlook, the Microsoft Dynamics CRM Address Book Provider or the Offline database.
Remarques
Triggers a synchronization event between Microsoft Dynamics CRM pour Microsoft Office Outlook avec accès hors connexion 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 pour Outlook client (no offline access) is installed or if the client is offline.
Throws an ArgumentException if the syncType is not supported.
Cohérence de thread
Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.
Plateformes
Plateformes de développement
Windows Vista, Windows Server 2003 et
Plateformes cibles
Windows Vista,Windows XP
Voir aussi
Référence
Classe CrmOutlookService
Membres CrmOutlookService
Espace de noms Microsoft.Crm.Outlook.Sdk
Autres ressources
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.