共用方式為


TeamFoundationBuildResourceService.UpdateBuildAgents 方法

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

語法

'宣告
Public Sub UpdateBuildAgents ( _
    requestContext As TeamFoundationRequestContext, _
    updates As IList(Of BuildAgentUpdateOptions), _
    canUpdateElastic As Boolean _
)
public void UpdateBuildAgents(
    TeamFoundationRequestContext requestContext,
    IList<BuildAgentUpdateOptions> updates,
    bool canUpdateElastic
)

參數

.NET Framework 安全性

請參閱

參考

TeamFoundationBuildResourceService 類別

Microsoft.TeamFoundation.Build.Server 命名空間