IAdministrationService.QueryActiveRequests Method (IEnumerable<Guid>, Boolean)

Queries for active requests on all specified hosts.

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

ReadOnlyCollection<TeamFoundationServiceHostActivity> QueryActiveRequests(
	IEnumerable<Guid> hostIds,
	bool includeDetails
)

Parameters

hostIds
Type: System.Collections.Generic.IEnumerable<Guid>

The host IDs that should be queried.

includeDetails
Type: System.Boolean

Indicates whether to include request details (for example, parameters).

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<TeamFoundationServiceHostActivity>
A collection of host properties that have active requests included.

If a null or empty value is specified for the first parameter, requests for all hosts that are visible to the caller are returned. The return value is sorted in the same order as the input host IDs, where a null value indicates that the host could not be retrieved.

Show: