Exemplo n.º 1
0
 protected internal override bool Rollback()
 {
     // simply redo entire job in reverse
     this.completedLocs.Clear();
     if (command == SiteCollectionCommand.Activate)
     {
         command = SiteCollectionCommand.Deactivate;
     }
     else
     {
         command = SiteCollectionCommand.Activate;
     }
     rollback = true;
     return(Execute());
 }
 protected internal override bool Rollback()
 {
     // simply redo entire job in reverse
     this.completedLocs.Clear();
     if (command == SiteCollectionCommand.Activate)
         command = SiteCollectionCommand.Deactivate;
     else
         command = SiteCollectionCommand.Activate;
     rollback = true;
     return Execute();
 }
Exemplo n.º 3
0
 internal SiteCollectionFeatureCommand(InstallProcessControl parent, IList <SiteLoc> siteCollectionLocs, SiteCollectionCommand command)
     : base(parent)
 {
     this.siteCollectionLocs = siteCollectionLocs;
     this.command            = command;
 }
 internal SiteCollectionFeatureCommand(InstallProcessControl parent, IList<SiteLoc> siteCollectionLocs, SiteCollectionCommand command)
     : base(parent)
 {
     this.siteCollectionLocs = siteCollectionLocs;
     this.command = command;
 }