This documentation is archived and is not being maintained.

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

Gets a single build agent.

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

IBuildAgent^ GetBuildAgent(
	Uri^ buildAgentUri, 
	array<String^>^ propertyNameFilters
)

Parameters

buildAgentUri
Type: System::Uri

The URI of the build agent.

propertyNameFilters
Type: array<System::String>

The property names to obtain.

Return Value

Type: Microsoft.TeamFoundation.Build.Client::IBuildAgent
The build agent with the given URI.

Show: