交换导出和上传示例代码 [英] exchange export and upload sample codes

查看:67
本文介绍了交换导出和上传示例代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用微软网站提供的示例导出和上传示例代码编写我们自己的交换迁移工具。 示例代码适用于使用单个用户凭据,但不适用于使用模拟。 我已经将
模拟角色授予了我的管理员。 请帮忙。


源代码可在以下网站找到:


http://msdn.microsoft.com/library/hh135142(EXCHG.140).aspx


使用模拟时,代码的导出部分仍然可以,但是当它到达上传语句时,它会失败... 我在这里粘贴了失败的声明:


UploadItemsResponseType upLoadResponse = DestinationEsb.UploadItems(upUploadItems);

解决方案

<你能试试Office for Visual Studio工具的论坛


http://social.msdn.microsoft.com/Forums/en-US/vsto


Hi,

I am writing our own exchange migration tool using the sample export and upload sample codes provided by microsoft website.  The sample codes is working for using individual user credentials but not for using impersonation.  I have already granted the impersonation role to my admin ac.  Please help.

The source codes can be found in this website :

http://msdn.microsoft.com/library/hh135142(EXCHG.140).aspx

When using impersonation, the export portion of the codes is still ok, but when it reached the upload statement, it fails...  I pasted the failed statement here :

UploadItemsResponseType upLoadResponse = DestinationEsb.UploadItems(upUploadItems);

解决方案

Can you try the forum for visual studio tools for Office

http://social.msdn.microsoft.com/Forums/en-US/vsto


这篇关于交换导出和上传示例代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆