共用方式為


BuildAgentQueryResult.ServiceHosts 屬性

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

語法

'宣告
<ClientPropertyAttribute(ClientVisibility.Private)> _
Public ReadOnly Property ServiceHosts As List(Of BuildServiceHost)
[ClientPropertyAttribute(ClientVisibility.Private)]
public List<BuildServiceHost> ServiceHosts { get; }

屬性值

型別:System.Collections.Generic.List<BuildServiceHost>
傳回 List<T>

.NET Framework 安全性

請參閱

參考

BuildAgentQueryResult 類別

Microsoft.TeamFoundation.Build.Server 命名空間