This documentation is archived and is not being maintained.

IBuildServer::QueryBuildAgentsByUri Method (array<Uri>, array<String>)

Gets the build agents that match the given URIs.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

array<IBuildAgent^>^ QueryBuildAgentsByUri(
	array<Uri^>^ buildAgentUris, 
	array<String^>^ propertyNameFilters
)

Parameters

buildAgentUris
Type: array<System::Uri>

The URIs of the build agents.

propertyNameFilters
Type: array<System::String>

The property names to obtain.

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client::IBuildAgent>
The build agents with the given URIs.

Show: