Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- agentId
Type: System.Guid
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceHostProcess
.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.