This documentation is archived and is not being maintained.
IBuildServer.QueryBuildAgentsByUri Method (Uri[], String[])
Visual Studio 2013
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)
function QueryBuildAgentsByUri(
buildAgentUris : Uri[],
propertyNameFilters : String[]
) : IBuildAgent[]
Parameters
- buildAgentUris
- Type: System.Uri[]
The URIs of the build agents.
- propertyNameFilters
- Type: System.String[]
The property names to obtain.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent[]The build agents with the given URIs.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: