How to automatically enable receive locations

Home Page Forums BizTalk 2004 – BizTalk 2010 How to automatically enable receive locations

Viewing 1 reply thread
  • Author
    Posts
    • #20384

      Hi there

      I am aware that I can use this script ‘EnableRecLoc.vbs’ to enable my receive location. The only things is, is that I want the script to enable ALL ports that are disabled. Failing that just enable all ports.
      I do not want to have to name them individually.
      Is there a way to do this. The reason is that I am having many of my receive location shutdown and I want to link my script to a MOM alert so that it will get triggered everytime there is a problem and automatically enable the ports. 

    • #20393

      Hi,

      You can use the Microsoft.BizTalk.ExplorerOM.dll which can be found under C:\Program Files\Microsoft BizTalk Server 2006

      Have a look at this; http://technet.microsoft.com/en-us/library/microsoft.biztalk.explorerom.aspx

      Basically you can work w/ any BizTalk artifacts and perform action on them.

      Regards,

      Marc Desjardins

       

       

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.