简体   繁体   English

获取子项目Project Server接口

[英]Get sub projects Project Server Interface

Is it possible to retrieve list of subprojects using PSI (project server interface)? 是否可以使用PSI(项目服务器接口)检索子项目列表? I found Relations datatable in ProjectDataSet but it is always empty. 我在ProjectDataSet中找到了Relations数据表,但它始终为空。 Maybe there is an easier way to get guids of subprojects than using PSI? 也许有比使用PSI更容易的方法来获得子项目的指导?

MSDN says that Relations table is used to map tables in dataset, not projects. MSDN说,Relations表用于映射数据集中的表,而不是项目。 http://msdn.microsoft.com/en-us/library/websvcproject.projectdataset.relations_di_pj14mref.aspx . http://msdn.microsoft.com/zh-CN/library/websvcproject.projectdataset.relations_di_pj14mref.aspx Try to check Task data table. 尝试检查任务数据表。 It will contain summary tasks for each sub project. 它将包含每个子项目的摘要任务。 Maybe it also contains sub project id. 也许它还包含子项目ID。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM