AgentsController.GetAgentById 方法

获取特定生成代理

命名空间:  Microsoft.TeamFoundation.Build.Server.Rest
程序集:  Microsoft.TeamFoundation.Build.Server(在 Microsoft.TeamFoundation.Build.Server.dll 中)

语法

声明
<HttpGetAttribute> _
Public Function GetAgentById ( _
    agentId As Integer _
) As BuildAgent
[HttpGetAttribute]
public BuildAgent GetAgentById(
    int agentId
)

参数

返回值

类型:BuildAgent

.NET Framework 安全性

请参阅

参考

AgentsController 类

Microsoft.TeamFoundation.Build.Server.Rest 命名空间