Previous Thread

8/16/2006 4:23:47 PM    script to create SQL port
Hi, 
 
This is probably a simple question, but I'm having trouble finding 
 
anything on the web about it. 
 
Is there a way to create Send Ports, Receive Ports and Receive Locations 
 
using a script? (I've been using the scripts in the SDK samples to do 
 
routine admin tasks such as stoping/starting/enlisting/etc, but now I 
 
want to script out the creation of the ports.) 
 
BTW, I'm using BTS2004. 
 
Thanks in advance, 
 
Don 
 
-- 
 
Don Rixtown 
 
don[dot]rixtown[at]gmail[dot]com



8/17/2006 7:01:33 AM    Re: script to create SQL port
Don, 
 
Usually, the easiest way to create ports programatically is using the 
 
BizTalkOM object model. Here's an example of creating a send port in C#: 
 
http://www.winterdom.com/weblog/2004/10/20/CreatingPortsInBizTalkServer2004Programatically.aspx 
 
-- 
 
Tomas Restrepo 
 
tomasr@mvps.org 
 
http://www.winterdom.com/