public Application(BizTalkApplication application, ApplicationCollection applicationCollection)
 {
     _applicationCollection = applicationCollection;
     BizTalkApplication     = application ?? throw new ArgumentNullException(nameof(application));
     Orchestrations         = new OrchestrationCollection(BizTalkApplication.Orchestrations);
     ReceivePorts           = new ReceivePortCollection(BizTalkApplication.ReceivePorts);
     SendPorts = new SendPortCollection(BizTalkApplication.SendPorts);
 }
Exemplo n.º 2
0
 static BizTalkServerGroup()
 {
     Applications = new ApplicationCollection();
     if (BizTalkInstallation.IsConfigured)
     {
         ManagementDatabase = new BizTalkServerManagementDatabase(BizTalkInstallation.ManagementDatabaseServer, BizTalkInstallation.ManagementDatabaseName);
     }
 }
Exemplo n.º 3
0
 static BizTalkServerGroup()
 {
     // [HKLM\Wow6432Node\Microsoft\Biztalk Server\3.0\Administration]
     using (var hklm = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32))
         using (var key = hklm.SafeOpenSubKey(@"SOFTWARE\Microsoft\Biztalk Server\3.0\Administration"))
         {
             ManagementDatabase = new BizTalkServerManagementDatabase((string)key.GetValue("MgmtDBServer"), (string)key.GetValue("MgmtDBName"));
             Applications       = new ApplicationCollection();
         }
 }