共用方式為


AgentsController.GetAgents 方法

取得組建代理程式

命名空間:  Microsoft.TeamFoundation.Build.Server.Rest
組件:  Microsoft.TeamFoundation.Build.Server (在 Microsoft.TeamFoundation.Build.Server.dll 中)

語法

'宣告
<HttpGetAttribute> _
Public Function GetAgents ( _
    controllerName As String, _
    agentName As String, _
    serviceHost As String _
) As HttpResponseMessage
[HttpGetAttribute]
public HttpResponseMessage GetAgents(
    string controllerName,
    string agentName,
    string serviceHost
)

參數

傳回值

類型:System.Net.Http.HttpResponseMessage

.NET Framework 安全性

請參閱

參考

AgentsController 類別

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