Queries for all registered service hosts, processes and host instances.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function QueryExecutionState ( _
    requestContext As TeamFoundationRequestContext _
) As TeamFoundationExecutionState
TeamFoundationExecutionState QueryExecutionState(
    TeamFoundationRequestContext requestContext
)
TeamFoundationExecutionState^ QueryExecutionState(
    TeamFoundationRequestContext^ requestContext
)
abstract QueryExecutionState : 
        requestContext:TeamFoundationRequestContext -> TeamFoundationExecutionState
function QueryExecutionState(
    requestContext : TeamFoundationRequestContext
) : TeamFoundationExecutionState
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- A request context for querying the configuration database. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationExecutionState
A QueryExecutionState containing the service hosts, processes and host instances.
.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.