Share via


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)

Syntax

'Declaration
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[]

Parameters

  • serviceHostName
    Type: System.String

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

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

Reference

IBuildServer Interface

Microsoft.TeamFoundation.Build.Client Namespace