Share via


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)

Syntax

'Declaration
Function GetAffectedBuildDefinitions ( _
    serverItems As String(), _
    triggerType As DefinitionTriggerType _
) As IBuildDefinition()
IBuildDefinition[] GetAffectedBuildDefinitions(
    string[] serverItems,
    DefinitionTriggerType triggerType
)
array<IBuildDefinition^>^ GetAffectedBuildDefinitions(
    array<String^>^ serverItems, 
    DefinitionTriggerType triggerType
)
abstract GetAffectedBuildDefinitions : 
        serverItems:string[] * 
        triggerType:DefinitionTriggerType -> IBuildDefinition[] 
function GetAffectedBuildDefinitions(
    serverItems : String[], 
    triggerType : DefinitionTriggerType
) : IBuildDefinition[]

Parameters

  • serverItems
    Type: array<System.String[]

    An array of TFS Version Control server paths

Return Value

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

.NET Framework Security

See Also

Reference

IBuildServer Interface

GetAffectedBuildDefinitions Overload

Microsoft.TeamFoundation.Build.Client Namespace