/// <summary> /// Removes the test plan. /// </summary> /// <param name="testManagementTeamProject">The test management team project.</param> /// <param name="testPlanId">The test plan unique identifier.</param> public static void RemoveTestPlan(ITestManagementTeamProject testManagementTeamProject, int testPlanId) { ITestPlan newTestPlan = testManagementTeamProject.TestPlans.Find(testPlanId); newTestPlan.Delete(); }