如何使用BTSTask.exe导出未绑定端口? [英] How to export the Unbound ports using BTSTask.exe?

查看:56
本文介绍了如何使用BTSTask.exe导出未绑定端口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



要在BizTalk 2006中使用BTSDeploy.exe导出未绑定的端口,我们有一个名为"UNBOUNDPORTS"的参数

如何使用BTSTask执行此操作Biztalk 2009中的.exe <

感谢


Kumsi

解决方案

我在Reflector中打开了BTSDeploy.exe并启动了查找选项并在Microsoft.BizTalk.Deployment.CL.ExportCommand.Execute中找到UnboundPorts。如果你继续阅读反汇编它会持续很长时间,我不知道BtsDeploy.exe中的底层代码是针对你的功能的。您必须以自定义方式在此处重现功能。这可能不是最好的方法。

另一种方法是使用ExplorerOM查看业务流程,然后遍历OrchestrationPorts以查找为ReceivePort或SendPort设置值的那些。以下是ReceivePort上的链接: http:/ /msdn.microsoft.com/en-us/library/microsoft.biztalk.explorerom.orchestrationport.receiveport(BTS.20).aspx

感谢

Hi,

To export the unbound ports using BTSDeploy.exe in BizTalk 2006, we have an argument called "UNBOUNDPORTS"

How can i do this using BTSTask.exe in Biztalk 2009?

Thanks


Kumsi

解决方案

I opened BTSDeploy.exe in Reflector and started looking through for the option and found UnboundPorts at Microsoft.BizTalk.Deployment.CL.ExportCommand.Execute. If you keep reading the disassembly it goes for a long time, I am not sure where the underlying code in BtsDeploy.exe is for your functionality. You would have to reproduce functionality here in a custom way. This might not be the best approach.

Another approach would be to use ExplorerOM to look at the orchestrations and then loop through the OrchestrationPorts to find the ones that have values set for ReceivePort or SendPort. Here is a link on the ReceivePort: http://msdn.microsoft.com/en-us/library/microsoft.biztalk.explorerom.orchestrationport.receiveport(BTS.20).aspx

Thanks


这篇关于如何使用BTSTask.exe导出未绑定端口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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