Delen via


IBuildServer.GetBuildAgent Method (Uri, array<String )

Gets a single build agent.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

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

Parameters

  • buildAgentUri
    Type: System.Uri

    The URI of the build agent.

  • propertyNameFilters
    Type: array<System.String[]

    The property names to obtain.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent
The build agent with the given URI.

.NET Framework Security

See Also

Reference

IBuildServer Interface

GetBuildAgent Overload

Microsoft.TeamFoundation.Build.Client Namespace