Share via


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)

Syntax

'Declaration
Function QueryActiveRequests ( _
    hostId As Guid, _
    includeDetails As Boolean _
) As TeamFoundationServiceHostActivity
TeamFoundationServiceHostActivity QueryActiveRequests(
    Guid hostId,
    bool includeDetails
)
TeamFoundationServiceHostActivity^ QueryActiveRequests(
    Guid hostId, 
    bool includeDetails
)
abstract QueryActiveRequests : 
        hostId:Guid * 
        includeDetails:bool -> TeamFoundationServiceHostActivity 
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.

.NET Framework Security

See Also

Reference

IAdministrationService Interface

QueryActiveRequests Overload

Microsoft.TeamFoundation.Framework.Client Namespace