How can you programatically export a BizTalk receive location?

And extending the question ... receive ports and send ports

有帮助吗?

解决方案

There's a few ways to approach this, each with benefits and drawbacks.

  1. WMI: http://msdn.microsoft.com/en-us/library/aa547992.aspx The drawback is this is by Assembly, so you'd have to enumerate them first.
  2. BTSTask.exe: http://msdn.microsoft.com/en-us/library/aa559686.aspx Better, since it allows you to specify an Assembler or an Application. There's no object model, but executing from another program or script works fine.
  3. PowerShell Provider for BizTalk: http://psbiztalk.codeplex.com/ The way to go if you're scripting in PowerShell already.

其他提示

You should just be able to export the bindings to an xml file and import them in your target environment. This article outlines the steps... http://msdn.microsoft.com/en-us/library/aa560753.aspx

Further if you are going to be doing deployments to multiple environments you should look at the BizTalk Deployment Framework... http://biztalkdeployment.codeplex.com/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top