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 ( _
    teamFoundationServer As TfsConnection, _
    includeDetails As Boolean _
) As TeamFoundationServiceHostActivity
TeamFoundationServiceHostActivity QueryActiveRequests(
    TfsConnection teamFoundationServer,
    bool includeDetails
)
TeamFoundationServiceHostActivity^ QueryActiveRequests(
    TfsConnection^ teamFoundationServer, 
    bool includeDetails
)
abstract QueryActiveRequests : 
        teamFoundationServer:TfsConnection * 
        includeDetails:bool -> TeamFoundationServiceHostActivity
function QueryActiveRequests(
    teamFoundationServer : TfsConnection, 
    includeDetails : boolean
) : TeamFoundationServiceHostActivity
Parameters
- teamFoundationServer 
 Type: Microsoft.TeamFoundation.Client.TfsConnection- The host to query. 
- includeDetails 
 Type: System.Boolean- True to include request details (for example, parameters). False to exclude details. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationServiceHostActivity
Host properties that include active requests. 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.