Share via


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)

Syntax

'Declaration
Function QueryBuildAgentsByUri ( _
    buildAgentUris As Uri(), _
    propertyNameFilters As String() _
) As IBuildAgent()
IBuildAgent[] QueryBuildAgentsByUri(
    Uri[] buildAgentUris,
    string[] propertyNameFilters
)
array<IBuildAgent^>^ QueryBuildAgentsByUri(
    array<Uri^>^ buildAgentUris, 
    array<String^>^ propertyNameFilters
)
abstract QueryBuildAgentsByUri : 
        buildAgentUris:Uri[] * 
        propertyNameFilters:string[] -> IBuildAgent[] 
function QueryBuildAgentsByUri(
    buildAgentUris : Uri[], 
    propertyNameFilters : String[]
) : IBuildAgent[]

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.

.NET Framework Security

See Also

Reference

IBuildServer Interface

QueryBuildAgentsByUri Overload

Microsoft.TeamFoundation.Build.Client Namespace