This documentation is archived and is not being maintained.

IBuildServer.CreateBuildControllerSpec Method (String, String, 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)

function CreateBuildControllerSpec(
	name : String, 
	computer : String, 
	propertyNameFilters : String[], 
	includeAgents : boolean
) : IBuildControllerSpec

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: 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: