IBuildServer.GetAffectedBuildDefinitions Method (String[], DefinitionTriggerType)
Visual Studio 2012
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.
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
abstract GetAffectedBuildDefinitions : serverItems:string[] * triggerType:DefinitionTriggerType -> IBuildDefinition[]
Parameters
- serverItems
- Type: 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: 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.