共用方式為


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 命名空間