CrmOutlookService.GoOnline 方法

应用到: CRM 2015 on-prem, CRM Online

Synchronizes 带脱机访问功能的 Microsoft Dynamics CRM for Microsoft Office Outlook with the online Microsoft Dynamics CRM server.

命名空间: Microsoft.Crm.Outlook.Sdk
程序集: Microsoft.Crm.Outlook.Sdk (在 Microsoft.Crm.Outlook.Sdk.dll 中)

语法

声明
Public Sub GoOnline
public void GoOnline ()

备注

Replays all the operations that were performed while 带脱机访问功能的 Microsoft Dynamics CRM for Microsoft Office Outlook was offline to the server. This method is synchronous and triggers UI interaction with the user. If there are errors during the playback, the method will not return until the error dialog box is dismissed.

警告

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, CRM for Outlook client (no offline access) is installed or if the client is offline.

线程安全性

此类型的所有公共静态(Visual Basic 中的 Shared)成员都是线程安全成员。不保证任何实例成员是线程安全成员。

平台

开发平台

Windows Vista、Windows Server 2003 和

目标平台

Windows Vista,Windows XP

Change History

另请参阅

参考

CrmOutlookService 类
CrmOutlookService 成员
Microsoft.Crm.Outlook.Sdk 命名空间

其他资源

Sample: Use Outlook Methods

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