Método CrmOutlookService.Sync
Aplica-se a: CRM 2015 on-prem, CRM Online
Triggers a synchronization event between Microsoft Dynamics CRM para Microsoft Office Outlook com Acesso Offline in Microsoft Office Outlook and the Microsoft Dynamics CRM server.
Namespace: Microsoft.Crm.Outlook.Sdk
Assembly: Microsoft.Crm.Outlook.Sdk (em Microsoft.Crm.Outlook.Sdk.dll)
Sintaxe
'Declaração
Public Sub Sync ( _
syncType As OutlookSyncType _
)
public void Sync (
OutlookSyncType syncType
)
Parâmetros
- syncType
Type: OutlookSyncType. The target to which synchronization needs to be triggered: Outlook, the Microsoft Dynamics CRM Address Book Provider or the Offline database.
Comentários
Triggers a synchronization event between Microsoft Dynamics CRM para Microsoft Office Outlook com Acesso Offline 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 para Outlook client (no offline access) is installed or if the client is offline.
Throws an ArgumentException if the syncType is not supported.
Segurança do Thread
Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows Server 2003 e
Plataformas de destino
Windows Vista,Windows XP
Consulte também
Referência
Classe CrmOutlookService
Membros de CrmOutlookService
Namespace Microsoft.Crm.Outlook.Sdk
Outros recursos
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.