biztalk2006r2

Is there a way to automate turning a BizTalk Receive Location on or off through code?

本小妞迷上赌 提交于 2019-11-29 04:37:27
Is there a way to automate the turning on or off of a Receive Location in BizTalk? It seems like there should be some kind of API or some such for this kind of thing. I would prefer to work in C#, but WMI or some kind of script would work too. Besides ExplorerOM, as you've found out, you can also enable/disable receive locations (and control send ports) using WMI. I have a sample PowerShell script that shows how to do those things here , if you're interested. I found a solution. It appears that the Microsoft.BizTalk.ExplorerOM.dll is what I wanted. Here is an excerpt from the BizTalk

Is there a way to automate turning a BizTalk Receive Location on or off through code?

若如初见. 提交于 2019-11-27 18:45:21
问题 Is there a way to automate the turning on or off of a Receive Location in BizTalk? It seems like there should be some kind of API or some such for this kind of thing. I would prefer to work in C#, but WMI or some kind of script would work too. 回答1: Besides ExplorerOM, as you've found out, you can also enable/disable receive locations (and control send ports) using WMI. I have a sample PowerShell script that shows how to do those things here, if you're interested. 回答2: I found a solution. It