Delen via


TeamFoundationHostManagementService.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
Public Function QueryExecutionState ( _
    requestContext As TeamFoundationRequestContext, _
    hostId As Guid _
) As TeamFoundationExecutionState
public TeamFoundationExecutionState QueryExecutionState(
    TeamFoundationRequestContext requestContext,
    Guid hostId
)
public:
virtual TeamFoundationExecutionState^ QueryExecutionState(
    TeamFoundationRequestContext^ requestContext, 
    Guid hostId
) sealed
abstract QueryExecutionState : 
        requestContext:TeamFoundationRequestContext * 
        hostId:Guid -> TeamFoundationExecutionState  
override QueryExecutionState : 
        requestContext:TeamFoundationRequestContext * 
        hostId:Guid -> TeamFoundationExecutionState
public final function QueryExecutionState(
    requestContext : TeamFoundationRequestContext, 
    hostId : Guid
) : TeamFoundationExecutionState

Parameters

  • hostId
    Type: System.Guid

    The service host to query for. Use Empty to query for all service hosts.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationExecutionState
A QueryExecutionState that contains the service hosts, processes, and host instances.

Implements

ITeamFoundationHostManagementService.QueryExecutionState(TeamFoundationRequestContext, Guid)

.NET Framework Security

See Also

Reference

TeamFoundationHostManagementService Class

QueryExecutionState Overload

Microsoft.TeamFoundation.Framework.Server Namespace