TeamFoundationBuildResourceService.QueryBuildServiceHosts Method

Queries for build service hosts by name.

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
Public Function QueryBuildServiceHosts ( _
    requestContext As TeamFoundationRequestContext, _
    computer As String _
) As BuildServiceHostQueryResult
public BuildServiceHostQueryResult QueryBuildServiceHosts(
    TeamFoundationRequestContext requestContext,
    string computer
)
public:
BuildServiceHostQueryResult^ QueryBuildServiceHosts(
    TeamFoundationRequestContext^ requestContext, 
    String^ computer
)
member QueryBuildServiceHosts : 
        requestContext:TeamFoundationRequestContext * 
        computer:string -> BuildServiceHostQueryResult
public function QueryBuildServiceHosts(
    requestContext : TeamFoundationRequestContext, 
    computer : String
) : BuildServiceHostQueryResult

Parameters

  • computer
    Type: System.String

    The name of the desired service host, which typically corresponds to the computer name the service host is running on.

Return Value

Type: Microsoft.TeamFoundation.Build.Server.BuildServiceHostQueryResult
Returns BuildServiceHostQueryResult.

.NET Framework Security

See Also

Reference

TeamFoundationBuildResourceService Class

Microsoft.TeamFoundation.Build.Server Namespace