Exemple #1
0
 public BtsHostInstanceCollection(BizTalkCatalog catalog)
     : base(
         catalog
         , HostInstance.GetInstances(
             ManagementHelper.GetScope(typeof(HostInstance), catalog.Instance, catalog.Database), null, null))
 {
 }
Exemple #2
0
        private BizTalkHostInstance(BizTalkCatalog catalog, HostInstance instance)
            : base(catalog)
        {
            hostInstance = instance;

            RetrieveHostInstanceSetting(instance.Name);
        }
Exemple #3
0
 public static BizTalkHost FromItem(BizTalkCatalog catalog, object item)
 {
     try
     {
         return(new BizTalkHost(catalog, item as Host));
     }
     catch (System.Exception)
     {
         throw;
     }
 }
Exemple #4
0
 /// <summary>
 /// BizTalkArtifact
 /// </summary>
 /// <param name="catalog"></param>
 protected BizTalkArtifact(BizTalkCatalog catalog)
 {
     bizTalkcatalog = catalog;
 }
Exemple #5
0
 /// <summary>
 /// BizTalkCollection
 /// </summary>
 /// <param name="paramCatalog"></param>
 /// <param name="collection"></param>
 public BizTalkCollection(BizTalkCatalog paramCatalog, ICollection collection)
     : base(collection)
 {
     biztalkCatalog = paramCatalog;
 }
Exemple #6
0
 public static BizTalkHostInstance FromItem(BizTalkCatalog catalog, HostInstance item)
 {
     return(new BizTalkHostInstance(catalog, item));       // return new BtsHostInstance(catalog, item as HostInstance);
 }
Exemple #7
0
 private BizTalkHost(BizTalkCatalog catalog, Host paramHost)
     : base(catalog)
 {
     host = paramHost;
     RetrieveHostSetting(paramHost.Name);
 }