programmatically get all projects from published store

R

R.D.M.

Hi,

I have a Project Web Access integrated with SharePoint. I have a custom
application integrated in SharePoint, which works with projects' data. In the
application, I'm trying to retrieve all projects from Published store in
Project Server database. I found a method in Larry's Project Dev site
(http://blogs.msdn.com/lduff/archive/2007/01/12/creating-an-extended-project-list.aspx) that does similar job :

ProjectWS.ProjectDataSet readProjDs =
projectSvc.ReadProjectStatus(Guid.Empty,
ProjectWS.DataStoreEnum.PublishedStore, string.Empty,
(int)PSLibrary.Project.ProjectType.Project);


But this method is pulling only projects with specific type, like Project.
There are other types of projects
(http://msdn.microsoft.com/en-us/lib...oject.server.library.project.projecttype.aspx),
and I need projects with type Project and InsertedProject pulled out at the
same time. Is there any way I can retrieve projects of both types? I would
appreaciate much any thoughts and advice.

Thank you!

R.D.M.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top