Querying Lab Environments Using TFS Lab Management APIs
Apr 3, 2014Subramanyam [MSFT]

Summary
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
- Azure DevOps Server 2022 Deprecation of Reporting Services
- TF221122: An error occurred running job Work Item Tracking Warehouse Sync for team project collection
- August patches for Azure DevOps Server and Team Foundation Server
- Team Foundation Server 2018 Update 2 is now available
- Power BI and VSTS - Integration made easy