IBuildServer.GetBuildAgent Method
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 _
) As IBuildAgent
IBuildAgent GetBuildAgent(
Uri buildAgentUri
)
IBuildAgent^ GetBuildAgent(
Uri^ buildAgentUri
)
abstract GetBuildAgent :
buildAgentUri:Uri -> IBuildAgent
function GetBuildAgent(
buildAgentUri : Uri
) : IBuildAgent
Parameters
- buildAgentUri
Type: System.Uri
The URI of the build agent.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent
Returns 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.