Поделиться через


BuildService.QueryBuildAgentsByUri Method

Queries build agents using a list of URIs. The output list will be the same size as the input list that has a NULL index in each position where a URI was not found.

Namespace:  Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryBuildAgentsByUri ( _
    uris As String() _
) As List(Of BuildAgent2008)
[WebMethodAttribute]
public List<BuildAgent2008> QueryBuildAgentsByUri(
    string[] uris
)
[WebMethodAttribute]
public:
List<BuildAgent2008^>^ QueryBuildAgentsByUri(
    array<String^>^ uris
)
[<WebMethodAttribute>]
member QueryBuildAgentsByUri : 
        uris:string[] -> List<BuildAgent2008> 
public function QueryBuildAgentsByUri(
    uris : String[]
) : List<BuildAgent2008>

Parameters

  • uris
    Type: array<System.String[]

    The URIs that should be queried.

Return Value

Type: System.Collections.Generic.List<BuildAgent2008>
A list of build agents with the same size as the input array.

.NET Framework Security

See Also

Reference

BuildService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace