Share via


IBuildServiceHost.Agents Property

Gets a read-only collection of agents that is associated with this service host.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
ReadOnly Property Agents As ReadOnlyCollection(Of IBuildAgent)
ReadOnlyCollection<IBuildAgent> Agents { get; }
property ReadOnlyCollection<IBuildAgent^>^ Agents {
    ReadOnlyCollection<IBuildAgent^>^ get ();
}
abstract Agents : ReadOnlyCollection<IBuildAgent>
function get Agents () : ReadOnlyCollection<IBuildAgent>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<IBuildAgent>
A read-only collection of agents that is associated with this service host.

.NET Framework Security

See Also

Reference

IBuildServiceHost Interface

Microsoft.TeamFoundation.Build.Client Namespace