IBuildServer.GetBuild Method (IBuildDefinitionSpec, String, array<String , QueryOptions)
Gets a single build.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Déclaration
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
)
IBuildDetail^ GetBuild(
IBuildDefinitionSpec^ buildDefinitionSpec,
String^ buildNumber,
array<String^>^ informationTypes,
QueryOptions queryOptions
)
abstract GetBuild :
buildDefinitionSpec:IBuildDefinitionSpec *
buildNumber:string *
informationTypes:string[] *
queryOptions:QueryOptions -> IBuildDetail
function GetBuild(
buildDefinitionSpec : IBuildDefinitionSpec,
buildNumber : String,
informationTypes : String[],
queryOptions : QueryOptions
) : IBuildDetail
Parameters
- buildDefinitionSpec
Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinitionSpec
The specification of the build definition that owns the build.
- buildNumber
Type: System.String
The number of the build.
- informationTypes
Type: array<System.String[]
The information type that should be retrieved.
- queryOptions
Type: Microsoft.TeamFoundation.Build.Client.QueryOptions
The query options.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail
Returns the build with the given build definition path and number.
.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.