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
triggerType
Type: Microsoft.TeamFoundation.Build.Client.DefinitionTriggerTypeThe type of trigger(s) which should be queried
Return Value
Type: array<Microsoft.TeamFoundation.Build.Client.IBuildDefinition[]
An array of build definitions
.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.