This documentation is archived and is not being maintained.

IBuildServer.GetAffectedBuildDefinitions Method (String[], DefinitionTriggerType)

Gets a list of all build definitions which are affected by the provided TFS Version Control server paths and are configured to have a trigger supplied in the filter.

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

IBuildDefinition[] GetAffectedBuildDefinitions(
	string[] serverItems,
	DefinitionTriggerType triggerType


Type: System.String[]

An array of TFS Version Control server paths

Type: Microsoft.TeamFoundation.Build.Client.DefinitionTriggerType

The type of trigger(s) which should be queried

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinition[]
An array of build definitions