다음을 통해 공유


TeamFoundationBuildService.AddBuildDefinitions Method

Adds build definitions to the build server. The returned list of build definitions matches the input list so the caller may associate the generated identifiers.

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

Syntax

'Declaration
Public Function AddBuildDefinitions ( _
    requestContext As TeamFoundationRequestContext, _
    definitions As IList(Of BuildDefinition) _
) As List(Of BuildDefinition)
public List<BuildDefinition> AddBuildDefinitions(
    TeamFoundationRequestContext requestContext,
    IList<BuildDefinition> definitions
)
public:
List<BuildDefinition^>^ AddBuildDefinitions(
    TeamFoundationRequestContext^ requestContext, 
    IList<BuildDefinition^>^ definitions
)
member AddBuildDefinitions : 
        requestContext:TeamFoundationRequestContext * 
        definitions:IList<BuildDefinition> -> List<BuildDefinition> 
public function AddBuildDefinitions(
    requestContext : TeamFoundationRequestContext, 
    definitions : IList<BuildDefinition>
) : List<BuildDefinition>

Parameters

Return Value

Type: System.Collections.Generic.List<BuildDefinition>
The list of build definitions added.

.NET Framework Security

See Also

Reference

TeamFoundationBuildService Class

Microsoft.TeamFoundation.Build.Server Namespace