TeamFoundationBuildService.UpdateBuildDefinitions Method
Updates existing build definitions. The [Process] and [WorkspaceTemplate] properties may be left null if they should remain unchanged.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Function UpdateBuildDefinitions ( _
requestContext As TeamFoundationRequestContext, _
updates As IList(Of BuildDefinition) _
) As List(Of BuildDefinition)
public List<BuildDefinition> UpdateBuildDefinitions(
TeamFoundationRequestContext requestContext,
IList<BuildDefinition> updates
)
public:
List<BuildDefinition^>^ UpdateBuildDefinitions(
TeamFoundationRequestContext^ requestContext,
IList<BuildDefinition^>^ updates
)
member UpdateBuildDefinitions :
requestContext:TeamFoundationRequestContext *
updates:IList<BuildDefinition> -> List<BuildDefinition>
public function UpdateBuildDefinitions(
requestContext : TeamFoundationRequestContext,
updates : IList<BuildDefinition>
) : List<BuildDefinition>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
updates
Type: System.Collections.Generic.IList<BuildDefinition>A list of build definition objects to update.
Return Value
Type: System.Collections.Generic.List<BuildDefinition>
The list of updated build definitions.
.NET Framework Security
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.EditBuildDefinition]
The caller must have EditBuildDefinition permission for the target build definitions.
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.EditBuildDefinition]
The caller must have [EditBuildDefinition] permission for the target build definitions.
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.