IBuildServer.QueryBuildAgents Method (String)
Gets the build agents for the given team project.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Function QueryBuildAgents ( _
teamProject As String _
) As IBuildAgent()
'Usage
Dim instance As IBuildServer
Dim teamProject As String
Dim returnValue As IBuildAgent()
returnValue = instance.QueryBuildAgents(teamProject)
IBuildAgent[] QueryBuildAgents(
string teamProject
)
array<IBuildAgent^>^ QueryBuildAgents(
String^ teamProject
)
function QueryBuildAgents(
teamProject : String
) : IBuildAgent[]
Parameters
teamProject
Type: System.StringThe team project for which build agents are retrieved.
Return Value
Type: array<Microsoft.TeamFoundation.Build.Client.IBuildAgent[]
Returns the build agents for the given team project.
.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.