Microsoft

Querying Lab Environments Using TFS Lab Management APIs

Apr 3, 2014Subramanyam [MSFT]
Querying Lab Environments Using TFS Lab Management APIs
SummaryAI, from the source post

This post provides a C# code example demonstrating how to query TFS Lab Environments using the `Microsoft.TeamFoundation.Lab.Client` API. It shows how to connect to a TFS server, obtain a `LabService` instance, define `LabEnvironmentQuerySpec` to filter environments by project, execute the query, and then iterate through the `LabEnvironment` and `LabSystem` objects to retrieve computer names.

More from the Team Foundation Data Warehouse Architecture trail