Retrieving multiple project types with ReadProjectStatus RRS feed

  • Question

  • Hi,

    I need to get a list of all projects, sub projects and master projects the server. I'm using the ReadProjectStatus PSI method (project.asmx). When using the following code I get the projects:


    Guid.Empty, ProjectWS.DataStoreEnum.WorkingStore

    but when I try to combine the call to get all projects, subs and masters I get nothing, not even an exception:

    projClient.ReadProjectStatus(Guid.Empty,ProectWS.DataStoreEnum.WorkingStore,string.Empty,(int)PSILibrary.Project.ProjectType.Project | (int)PSILibrary.Project.ProjectType.InsertedProject | (int)PSILibrary.Project.ProjectType.MasterProject);

    Am I doing something wrong?


    Monday, April 16, 2012 6:57 PM