共用方式為


IBuildServer.GetAffectedBuildDefinitions 方法 (array<String , ContinuousIntegrationType)

注意:這個應用程式開發介面現在已經過時。

取得指定之版本控制伺服器路徑影響的所有組建定義和設定擁有在篩選條件中提供的觸發程序。

命名空間:  Microsoft.TeamFoundation.Build.Client
組件:  Microsoft.TeamFoundation.Build.Client (在 Microsoft.TeamFoundation.Build.Client.dll 中)

語法

'宣告
<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
)

參數

  • serverItems
    型別:array<System.String[]
    陣列版本控制伺服器路徑。

傳回值

型別:array<Microsoft.TeamFoundation.Build.Client.IBuildDefinition[]
組建定義。

.NET Framework 安全性

請參閱

參考

IBuildServer 介面

GetAffectedBuildDefinitions 多載

Microsoft.TeamFoundation.Build.Client 命名空間