AdministrationWebService4.QueryBuildAgentsByUri Method
Queries the list of build agents using the provided URIs. If a null or empty list is provided, then all of the build agents to which the caller has the appropriate permissions will be returned.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function QueryBuildAgentsByUri ( _
agentUris As String(), _
propertyNameFilters As String() _
) As BuildAgentQueryResult
[WebMethodAttribute]
public BuildAgentQueryResult QueryBuildAgentsByUri(
string[] agentUris,
string[] propertyNameFilters
)
[WebMethodAttribute]
public:
BuildAgentQueryResult^ QueryBuildAgentsByUri(
array<String^>^ agentUris,
array<String^>^ propertyNameFilters
)
[<WebMethodAttribute>]
member QueryBuildAgentsByUri :
agentUris:string[] *
propertyNameFilters:string[] -> BuildAgentQueryResult
public function QueryBuildAgentsByUri(
agentUris : String[],
propertyNameFilters : String[]
) : BuildAgentQueryResult
Parameters
agentUris
Type: array<System.String[]The list of agents that should be queried.
propertyNameFilters
Type: array<System.String[]A list of property names that should be included.
Return Value
Type: Microsoft.TeamFoundation.Build.Server.BuildAgentQueryResult
A list of build agents queried to which the caller has appropriate permissions.
.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.