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.UriThe 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
- 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.