May 2006 Entries

Removing Parties Programatically

Here's how you can remove parties programatically. It's quite easy. I. First, you need a reference to the Microsoft.BizTalk.ExplorerOM assembly. You can find this assembly in the Biztalk install folder II.. Create your code this way try { BtsCatalogExplorer btsExp = new BtsCatalogExplorer(); 1. PartyCollection pc = (PartyCollection)btsExp.Get... 2. for (int i=0; i<= pc.Count-1; i++) { 3. if (bindingFileParties.Contain... { 4. btsExp.RemoveParty(pc[i]);...

Receive Port Binding File

Lately I was working on automating the whole build and deployment process of our client's Biztalk solution, I noticed this one (wonderful) thing about the binding file for a receive port. There is a tag called “Enable” which takes the value true or false. If you set this value to “True“, the receive location will automatically be enabled and ready to pickup messages once you deploy the binding file using either the Deployment wizard, or the btsdeploy tool that comes with Biztalk,...