共用方式為


IBuildServer.GetAffectedBuildDefinitions Method (array<String , ContinuousIntegrationType)

Note: This API is now obsolete.

Gets an array of all build definitions affected by the specified 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
<ObsoleteAttribute("This method has been deprecated. Use IBuildDefinition[] IBuildServer.GetAffectedBuildDefinitions(String[], DefinitionTriggerType) instead.",  _
    False)> _
Function GetAffectedBuildDefinitions ( _
    serverItems As String(), _
    continuousIntegrationType As ContinuousIntegrationType _
) As IBuildDefinition()
[ObsoleteAttribute("This method has been deprecated. Use IBuildDefinition[] IBuildServer.GetAffectedBuildDefinitions(String[], DefinitionTriggerType) instead.", 
    false)]
IBuildDefinition[] GetAffectedBuildDefinitions(
    string[] serverItems,
    ContinuousIntegrationType continuousIntegrationType
)
[ObsoleteAttribute(L"This method has been deprecated. Use IBuildDefinition[] IBuildServer.GetAffectedBuildDefinitions(String[], DefinitionTriggerType) instead.", 
    false)]
array<IBuildDefinition^>^ GetAffectedBuildDefinitions(
    array<String^>^ serverItems, 
    ContinuousIntegrationType continuousIntegrationType
)
[<ObsoleteAttribute("This method has been deprecated. Use IBuildDefinition[] IBuildServer.GetAffectedBuildDefinitions(String[], DefinitionTriggerType) instead.", 
    false)>]
abstract GetAffectedBuildDefinitions : 
        serverItems:string[] * 
        continuousIntegrationType:ContinuousIntegrationType -> IBuildDefinition[] 
function GetAffectedBuildDefinitions(
    serverItems : String[], 
    continuousIntegrationType : ContinuousIntegrationType
) : IBuildDefinition[]

Parameters

  • serverItems
    Type: array<System.String[]

    An array of 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