Поделиться через


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

  • hostId
    Type: System.Guid

    The 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

See Also

Reference

ITeamFoundationHostManagementService Interface

QueryExecutionState Overload

Microsoft.TeamFoundation.Framework.Server Namespace