This documentation is archived and is not being maintained.
IBuildServer::GetAffectedBuildDefinitions Method (array<String>, DefinitionTriggerType)
Visual Studio 2013
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 )
Parameters
- serverItems
- Type: array<System::String>
An array of TFS Version Control server paths
- triggerType
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: