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 命名空间