How to know if a project is checked out or checked in from PSI?
Asked
Active
Viewed 2,040 times
1 Answers
3
Use Project.ReadProjectList or Project.ReadProject.
This will return a ProjectDataTable in ProjectDataSet.Project. From there you can check the PROJ_CHECKOUTBY and PROJ_CHECKOUTDATE columns.

Alex Angas
- 59,219
- 41
- 137
- 210
-
If I only know the project name, How can I get the project information. – Yongwei Xing Sep 25 '09 at 15:16
-
Sorry didn't see your comment. See http://stackoverflow.com/questions/1509731/if-i-only-know-a-projects-name-how-do-i-get-its-guid – Alex Angas Oct 02 '09 at 14:06