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 As String _
) As IBuildServiceHost()
IBuildServiceHost[] QueryBuildServiceHosts(
    string serviceHostName
array<IBuildServiceHost^>^ QueryBuildServiceHosts(
    String^ serviceHostName
abstract QueryBuildServiceHosts : 
        serviceHostName:string -> IBuildServiceHost[] 
function QueryBuildServiceHosts(
    serviceHostName : String
) : IBuildServiceHost[]


  • serviceHostName
    Type: System.String
    The name of the service host to match (may contain wild cards).

Return Value

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

.NET Framework Security

See Also


IBuildServer Interface

Microsoft.TeamFoundation.Build.Client Namespace