TfsConfigurationServer.GetTeamProjectCollection 方法
获取具有指定的 ID. 的 TfsTeamProjectCollection
命名空间: Microsoft.TeamFoundation.Client
程序集: Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)
语法
声明
Public Function GetTeamProjectCollection ( _
collectionId As Guid _
) As TfsTeamProjectCollection
public TfsTeamProjectCollection GetTeamProjectCollection(
Guid collectionId
)
参数
- collectionId
类型:System.Guid
预期 TeamProjectCollection 的 ID。
返回值
类型:Microsoft.TeamFoundation.Client.TfsTeamProjectCollection
具有指定的 ID. 的 TfsTeamProjectCollection
备注
有关如何使用此方法的更多信息,请参见 从控制台应用程序连接到 Team Foundation Server。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。
请参阅
参考
Microsoft.TeamFoundation.Client 命名空间