TeamFoundationBuildResourceService.QueryBuildServiceHostsByUri Method
Queries for build service hosts by URI.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Function QueryBuildServiceHostsByUri ( _
requestContext As TeamFoundationRequestContext, _
serviceHostUris As IList(Of String) _
) As BuildServiceHostQueryResult
public BuildServiceHostQueryResult QueryBuildServiceHostsByUri(
TeamFoundationRequestContext requestContext,
IList<string> serviceHostUris
)
public:
BuildServiceHostQueryResult^ QueryBuildServiceHostsByUri(
TeamFoundationRequestContext^ requestContext,
IList<String^>^ serviceHostUris
)
member QueryBuildServiceHostsByUri :
requestContext:TeamFoundationRequestContext *
serviceHostUris:IList<string> -> BuildServiceHostQueryResult
public function QueryBuildServiceHostsByUri(
requestContext : TeamFoundationRequestContext,
serviceHostUris : IList<String>
) : BuildServiceHostQueryResult
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
serviceHostUris
Type: System.Collections.Generic.IList<String>The URIs of the desired service hosts.
Return Value
Type: Microsoft.TeamFoundation.Build.Server.BuildServiceHostQueryResult
A service host query result that contains the service hosts matching the URIs, or null if no service host was found with a particular URI, or the failures encountered. The number and order of the results will always match the serviceHostUris passed in.
.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.