共用方式為


IBuildServer.GetBuild 方法 (IBuildDefinitionSpec, String, array<String[], QueryOptions)

取得單一組建。

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

語法

'宣告
Function GetBuild ( _
    buildDefinitionSpec As IBuildDefinitionSpec, _
    buildNumber As String, _
    informationTypes As String(), _
    queryOptions As QueryOptions _
) As IBuildDetail
IBuildDetail GetBuild(
    IBuildDefinitionSpec buildDefinitionSpec,
    string buildNumber,
    string[] informationTypes,
    QueryOptions queryOptions
)

參數

  • informationTypes
    類型:array<System.String[]
    應該擷取的資訊類型。

傳回值

類型:Microsoft.TeamFoundation.Build.Client.IBuildDetail
傳回與指定之組建定義路徑和數字的組建。

.NET Framework 安全性

請參閱

參考

IBuildServer 介面

GetBuild 多載

Microsoft.TeamFoundation.Build.Client 命名空間