ITeamFoundationHostManagementService.QueryExecutionState Method (TeamFoundationRequestContext, Guid)
Queries for one or all registered service hosts, and related 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, _
hostId As Guid _
) As TeamFoundationExecutionState
TeamFoundationExecutionState QueryExecutionState(
TeamFoundationRequestContext requestContext,
Guid hostId
)
TeamFoundationExecutionState^ QueryExecutionState(
TeamFoundationRequestContext^ requestContext,
Guid hostId
)
abstract QueryExecutionState :
requestContext:TeamFoundationRequestContext *
hostId:Guid -> TeamFoundationExecutionState
function QueryExecutionState(
requestContext : TeamFoundationRequestContext,
hostId : Guid
) : TeamFoundationExecutionState
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextA request context for querying the configuration database.
hostId
Type: System.GuidThe service host to query for. Use Guid.Empty to query for all service hosts.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationExecutionState
A QueryExecutionState containing the service host(s), 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.