If I only know a project's name how do I get its GUID?

倾然丶 夕夏残阳落幕 提交于 2019-12-24 07:15:36

问题


The PSI has various methods such as ReadProject that only take a project GUID and not its name.

If I only have a project's name, how do I retrieve its GUID for use in other PSI methods?


回答1:


Use ReadProjectStatus. It allows passing through an empty GUID but a project name to retrieve this information.



来源:https://stackoverflow.com/questions/1509731/if-i-only-know-a-projects-name-how-do-i-get-its-guid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!