This documentation is archived and is not being maintained.

IAdministrationService.QueryActiveRequests Method (Guid, Boolean)

Queries for active requests on the specified host.

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

function QueryActiveRequests(
	hostId : Guid, 
	includeDetails : boolean
) : TeamFoundationServiceHostActivity

Parameters

hostId
Type: System.Guid

The host ID that should be queried.

includeDetails
Type: System.Boolean

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

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationServiceHostActivity
Host properties that have active requests included. Null if the host does not exist.

Show: