RosarioHelper.QueryBuildAgents Method (TeamFoundationRequestContext, IList<BuildAgentSpec2010>)
Namespace: Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Shared Function QueryBuildAgents ( _
requestContext As TeamFoundationRequestContext, _
agentSpecs As IList(Of BuildAgentSpec2010) _
) As List(Of BuildAgentQueryResult2010)
public static List<BuildAgentQueryResult2010> QueryBuildAgents(
TeamFoundationRequestContext requestContext,
IList<BuildAgentSpec2010> agentSpecs
)
public:
static List<BuildAgentQueryResult2010^>^ QueryBuildAgents(
TeamFoundationRequestContext^ requestContext,
IList<BuildAgentSpec2010^>^ agentSpecs
)
static member QueryBuildAgents :
requestContext:TeamFoundationRequestContext *
agentSpecs:IList<BuildAgentSpec2010> -> List<BuildAgentQueryResult2010>
public static function QueryBuildAgents(
requestContext : TeamFoundationRequestContext,
agentSpecs : IList<BuildAgentSpec2010>
) : List<BuildAgentQueryResult2010>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- agentSpecs
Type: System.Collections.Generic.IList<BuildAgentSpec2010>
Return Value
Type: System.Collections.Generic.List<BuildAgentQueryResult2010>
Returns List<T>.
.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.
See Also
Reference
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace