如何获取项目集合的宿主组?

How do I get the host group of a project collection?

我正在尝试在我的工作流程中使用 CreateLabEnvironment activity。根据 msdn,我需要提供 TeamProjectHostGroupName 参数,这是一个 "Host group where the new environment will be deployed. If the specified host group is not found, a NoTeamProjectHostGroupFoundException exception is thrown. Required."

如何获取主机组?

主机组在 TFS 服务器上的实验室管理配置中指定,您的管理员可以告诉您它是什么。

https://msdn.microsoft.com/en-us/library/dd386364.aspx