public ArrayList ListDeployedAssemblies()
        {
            ArrayList assemblyNames = new ArrayList();

            this.InitExplorer(this.server, this.mgmtDatabaseName);

            foreach (BizTalkCore.BtsAssembly btsAssembly in this.explorer.Assemblies)
            {
                if (!btsAssembly.IsSystem)
                {
                    BizTalkAssembly bta = new BizTalkAssembly(btsAssembly);
                    assemblyNames.Add(btsAssembly.DisplayName);
                }
            }
            return(assemblyNames);
        }
Exemple #2
0
 private void LoadAssemblies(BtsCatalogExplorer explorer, Application application)
 {
     TraceManager.SmartTrace.TraceIn();
     // Assemblies - need to check for maps, schema, pipelines, orchestrations
     foreach (BizTalk.ExplorerOM.BtsAssembly assembly in application.Assemblies)
     {
         try
         {
             BizTalkAssembly a = new BizTalkAssembly(assembly);
             a.Application = this;
             a.Load(explorer, assembly);
             this.Assemblies.Add(a);
         }
         catch (Exception ex)
         {
             TraceManager.SmartTrace.TraceError(ex);
         }
     }
     TraceManager.SmartTrace.TraceOut();
 }
Exemple #3
0
        internal override void FixReferences(BizTalkCore.BtsCatalogExplorer explorer)
        {
            TraceManager.SmartTrace.TraceIn(explorer);

            foreach (NameIdPair enlistedParty in this.enlistedParties)
            {
                Party party = this.Application.ParentInstallation.Parties[enlistedParty.Name] as Party;
                enlistedParty.Id = party.Id;
                party.LinkedRoles.Add(this.NameIdPair);
            }

            BizTalkAssembly asm = this.Application.ParentInstallation.Assemblies[parentAssembly.Name] as BizTalkAssembly;

            if (asm != null)
            {
                this.parentAssembly = asm.NameIdPair;
            }

            TraceManager.SmartTrace.TraceOut();
        }