This documentation is archived and is not being maintained.

IBuildServer::CreateBuildControllerSpec Method (String, String, array<String>, Boolean)

Creates a new build controller specification that can be used to query build controllers.

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

IBuildControllerSpec^ CreateBuildControllerSpec(
	String^ name, 
	String^ computer, 
	array<String^>^ propertyNameFilters, 
	bool includeAgents
)

Parameters

name
Type: System::String

The controller name to query - supports wildcard characters.

computer
Type: System::String

The computer to query - null/empty means "do not care".

propertyNameFilters
Type: array<System::String>

Property name filters

includeAgents
Type: System::Boolean

Include agents into the query or not

Return Value

Type: Microsoft.TeamFoundation.Build.Client::IBuildControllerSpec
The new build controller specification.

Show: