private NodeInfo AddArea(string areaPath) { NodeInfo retVal = TfsNodeStructureHelper.AddNode(this.commonStructureService, "\\" + areaPath, this.projectDetail.ProjectName, eStructureType.Area); if (retVal == null) { throw new Exception("We were unable to add the area '" + areaPath + "' to the project '" + this.projectDetail.ProjectName + "'!"); } return(retVal); }
private NodeInfo AddIteration(string newIterationName) { NodeInfo retVal = TfsNodeStructureHelper.AddNode(this.commonStructureService, "\\" + newIterationName, this.projectDetail.ProjectName, eStructureType.Iteration); if (retVal == null) { throw new Exception("We were unable to add the iteration '" + newIterationName + "' to the project '" + this.projectDetail.ProjectName + "'!"); } return(retVal); }