IBuildServer.QueryBuildAgents Method (String)
Note: This API is now obsolete.
Obsolete. Gets the build agents for the specified team project.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
<ObsoleteAttribute("This method has been deprecated. Please remove all references.", _
True)> _
Function QueryBuildAgents ( _
teamProject As String _
) As IBuildAgent()
[ObsoleteAttribute("This method has been deprecated. Please remove all references.",
true)]
IBuildAgent[] QueryBuildAgents(
string teamProject
)
[ObsoleteAttribute(L"This method has been deprecated. Please remove all references.",
true)]
array<IBuildAgent^>^ QueryBuildAgents(
String^ teamProject
)
[<ObsoleteAttribute("This method has been deprecated. Please remove all references.",
true)>]
abstract QueryBuildAgents :
teamProject:string -> IBuildAgent[]
function QueryBuildAgents(
teamProject : String
) : IBuildAgent[]
Parameters
- teamProject
Type: System.String
The team project for which build agents are retrieved.
Return Value
Type: array<Microsoft.TeamFoundation.Build.Client.IBuildAgent[]
The build agents for the specified team project.
Remarks
This method has been deprecated. Please remove all references.
As of Visual Studio 2010, build agents are scoped to the team project collection. Team projects in the same team project collection now use the same build resources.
.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.