Partager via


IBuildServer.CreateBuildDefinition Method

Creates a new build definition owned by the build server.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Déclaration
Function CreateBuildDefinition ( _
    teamProject As String _
) As IBuildDefinition
IBuildDefinition CreateBuildDefinition(
    string teamProject
)
IBuildDefinition^ CreateBuildDefinition(
    String^ teamProject
)
abstract CreateBuildDefinition : 
        teamProject:string -> IBuildDefinition 
function CreateBuildDefinition(
    teamProject : String
) : IBuildDefinition

Parameters

  • teamProject
    Type: System.String
    The team project under which the build definition will be created.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinition
The new build definition.

.NET Framework Security

See Also

Reference

IBuildServer Interface

Microsoft.TeamFoundation.Build.Client Namespace