IBuildServer.QueryBuildAgentsByUri Method
Gets the build agents that match the specified URIs.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Function QueryBuildAgentsByUri ( _
buildAgentUris As Uri() _
) As IBuildAgent()
IBuildAgent[] QueryBuildAgentsByUri(
Uri[] buildAgentUris
)
array<IBuildAgent^>^ QueryBuildAgentsByUri(
array<Uri^>^ buildAgentUris
)
abstract QueryBuildAgentsByUri :
buildAgentUris:Uri[] -> IBuildAgent[]
function QueryBuildAgentsByUri(
buildAgentUris : Uri[]
) : IBuildAgent[]
Parameters
- buildAgentUris
Type: array<System.Uri[]
The URIs of the build agents.
Return Value
Type: array<Microsoft.TeamFoundation.Build.Client.IBuildAgent[]
The build agents with the specified URIs.
.NET Framework Security
- 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.