views:

92

answers:

1

How to know if a project is checked out or checked in from PSI?

+1  A: 

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
If I only know the project name, How can I get the project information.
Yongwei Xing
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