Metodo CrmOutlookService.Sync
Si applica a: CRM 2015 on-prem, CRM Online
Triggers a synchronization event between Microsoft Dynamics CRM per Microsoft Office Outlook con accesso offline in Microsoft Office Outlook and the Microsoft Dynamics CRM server.
Spazio dei nomi: Microsoft.Crm.Outlook.Sdk
Assembly: Microsoft.Crm.Outlook.Sdk (in Microsoft.Crm.Outlook.Sdk.dll)
Sintassi
'Dichiarazione
Public Sub Sync ( _
syncType As OutlookSyncType _
)
public void Sync (
OutlookSyncType syncType
)
Parametri
- syncType
Type: OutlookSyncType. The target to which synchronization needs to be triggered: Outlook, the Microsoft Dynamics CRM Address Book Provider or the Offline database.
Note
Triggers a synchronization event between Microsoft Dynamics CRM per Microsoft Office Outlook con accesso offline and the Server Microsoft Dynamics CRM. 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 per Outlook client (no offline access) is installed or if the client is offline.
Throws an ArgumentException if the syncType is not supported.
Thread Safety
Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.
Piattaforme
Piattaforme di sviluppo
Windows Vista, Windows Server 2003 e
Piattaforme di destinazione
Windows Vista,Windows XP
Vedere anche
Riferimento
Classe CrmOutlookService
Membri CrmOutlookService
Spazio dei nomi Microsoft.Crm.Outlook.Sdk
Altre risorse
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.