Freigeben über


TeamFoundationBuildService.GetAffectedBuildDefinitions Method

Gets the list of build definitions affected by the provided version control server paths. The continuous integration type is an optional filter to additionally restrict the build definitions that are returned.

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

Syntax

'Declaration
Public Function GetAffectedBuildDefinitions ( _
    requestContext As TeamFoundationRequestContext, _
    serverItems As IList(Of String), _
    continuousIntegrationType As DefinitionTriggerType _
) As List(Of BuildDefinition)
public List<BuildDefinition> GetAffectedBuildDefinitions(
    TeamFoundationRequestContext requestContext,
    IList<string> serverItems,
    DefinitionTriggerType continuousIntegrationType
)
public:
List<BuildDefinition^>^ GetAffectedBuildDefinitions(
    TeamFoundationRequestContext^ requestContext, 
    IList<String^>^ serverItems, 
    DefinitionTriggerType continuousIntegrationType
)
member GetAffectedBuildDefinitions : 
        requestContext:TeamFoundationRequestContext * 
        serverItems:IList<string> * 
        continuousIntegrationType:DefinitionTriggerType -> List<BuildDefinition> 
public function GetAffectedBuildDefinitions(
    requestContext : TeamFoundationRequestContext, 
    serverItems : IList<String>, 
    continuousIntegrationType : DefinitionTriggerType
) : List<BuildDefinition>

Parameters

Return Value

Type: System.Collections.Generic.List<BuildDefinition>
A list of build definitions with workspaces that contain mapped paths that include the provided server items.

.NET Framework Security

See Also

Reference

TeamFoundationBuildService Class

Microsoft.TeamFoundation.Build.Server Namespace