This documentation is archived and is not being maintained.

IBuildServer::GetAffectedBuildDefinitions Method (array<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)

array<IBuildDefinition^>^ GetAffectedBuildDefinitions(
	array<String^>^ serverItems, 
	DefinitionTriggerType triggerType


Type: array<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: array<Microsoft.TeamFoundation.Build.Client::IBuildDefinition>
An array of build definitions