Load Organization

Load Organization

Post by Vai200 » Mon, 27 Oct 2003 05:20:33


Hi All, I am Loading an Organization dynamically. I use the LoadByName
method of the Organization oject (IBizTalkOrganization). Problem is if the
organization has mulitple identifiers inside it...this method loads the
default one.
How can I load the specific identifier? I tried using the LoadAlias but
noluck so far!!

Can someone help me out?

TIA
int lAliasHandle =120065;
object pvarName ="foo";
object pvarDefault ="0";
object pvarQual ="01";
object pvarValue ="081466840";

IBizTalkOrganization
srcorg3=(IBizTalkOrganization)BTConfig.CreateOrganization();
srcorg3.LoadAlias(lAliasHandle,ref pvarName,ref pvarDefault,ref pvarQual,ref
pvarValue);

// Fails no object found!!!!
--
========
Regards
Vai
========
 
 
 

Load Organization

Post by Vai200 » Mon, 27 Oct 2003 05:34:33

yea,,I finally solved it out. All you gotta do is set the
port.DestinationEndPoint.Alias to the 120065

Thx ya all


pvarQual,ref