It's all about the answers!

Ask a question

Retrieving archived projects

m sawires (1463268) | asked Feb 24 '10, 12:04 p.m.
How can I retrieve archived ProjectArea programmatically and also how can I check if an existing ProjectArea is archived or not? I don't see any properties for that.

2 answers

permanent link
m sawires (1463268) | answered Feb 26 '10, 12:39 p.m.
Thank you

permanent link
Qiong Feng Huang (76911610) | answered Feb 24 '10, 9:41 p.m.
You can IProcessItemService to get all project areas including archived
ones. And then use "isArchived()" method to find the archived project
areas. The following is the sample code:
ITeamRepository teamRepository =
IProcessItemService service = (IProcessItemService)
List projectAreaList =
// for each project area, use isArchived() to check whether
this is an archived project area or not.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.