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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.