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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
serverItems
Type: System.Collections.Generic.IList<String>The server items.
continuousIntegrationType
Type: Microsoft.TeamFoundation.Build.Server.DefinitionTriggerTypeThe build definition types.
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
- 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.