TeamFoundationJobReportingService.GetAgentInformation Method

Get the agent information for the agent which ran this job.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function GetAgentInformation ( _
    requestContext As TeamFoundationRequestContext, _
    agentId As Guid _
) As TeamFoundationServiceHostProcess
public TeamFoundationServiceHostProcess GetAgentInformation(
    TeamFoundationRequestContext requestContext,
    Guid agentId
)
public:
TeamFoundationServiceHostProcess^ GetAgentInformation(
    TeamFoundationRequestContext^ requestContext, 
    Guid agentId
)
member GetAgentInformation : 
        requestContext:TeamFoundationRequestContext * 
        agentId:Guid -> TeamFoundationServiceHostProcess
public function GetAgentInformation(
    requestContext : TeamFoundationRequestContext, 
    agentId : Guid
) : TeamFoundationServiceHostProcess

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceHostProcess

.NET Framework Security

See Also

Reference

TeamFoundationJobReportingService Class

Microsoft.TeamFoundation.Server.Core Namespace