Freigeben über


CrmOutlookService.GoOffline Methode

Takes Microsoft Dynamics CRM für Microsoft Office Outlook mit Offlinezugriff into an offline state and triggers a synchronization of the offline database with the online server.

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

Syntax

'Declaration
Public Sub GoOffline
public void GoOffline ()

Anmerkungen

This method is synchronous and triggers UI interaction with the user. If there are errors when taking Dynamics CRM für Outlook offline, the method will not return until the error dialog box is dismissed.

Warnung

Because this function triggers UI interaction with the user it cannot be used within a plugin. This can cause the process to stop responding or cause unexpected behavior.

Throws an InvalidOperationException if the client is not loaded, Dynamics CRM für Outlook client (no offline access) is installed or if the client is offline.

Thread-Sicherheit

Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.

Plattformen

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

Change History

Siehe auch

Referenz

CrmOutlookService Klasse
CrmOutlookService Mitglieder
Microsoft.Crm.Outlook.Sdk Namespace

Weitere Ressourcen

Sample: Use Outlook Methods

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