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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
definitions
Type: System.Collections.Generic.IList<BuildDefinition>The build definitions to add.
Return Value
Type: System.Collections.Generic.List<BuildDefinition>
The list of build definitions added.
.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.