Delen via


IBuildServer.QueryBuildAgentsByUri Method (array<Uri )

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

See Also

Reference

IBuildServer Interface

QueryBuildAgentsByUri Overload

Microsoft.TeamFoundation.Build.Client Namespace