This documentation is archived and is not being maintained.

IBuildServer.QueryBuildServiceHosts Method

Gets an array of all build service hosts that are hosted on the specified computers.

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

function QueryBuildServiceHosts(
	serviceHostName : String
) : IBuildServiceHost[]


Type: System.String

The name of the service host to match (may contain wildcard characters).

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildServiceHost[]
An array of build service hosts that are hosted by computers matching the input.