TeamFoundationServicingService.AddServicingStepGroups Method (TeamFoundationRequestContext, IEnumerable<ServicingStepGroup>)
Adds servicing step groups and servicing steps listed in the stepGroups collection to the configuration database.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub AddServicingStepGroups ( _
requestContext As TeamFoundationRequestContext, _
stepGroups As IEnumerable(Of ServicingStepGroup) _
)
public void AddServicingStepGroups(
TeamFoundationRequestContext requestContext,
IEnumerable<ServicingStepGroup> stepGroups
)
public:
void AddServicingStepGroups(
TeamFoundationRequestContext^ requestContext,
IEnumerable<ServicingStepGroup^>^ stepGroups
)
member AddServicingStepGroups :
requestContext:TeamFoundationRequestContext *
stepGroups:IEnumerable<ServicingStepGroup> -> unit
public function AddServicingStepGroups(
requestContext : TeamFoundationRequestContext,
stepGroups : IEnumerable<ServicingStepGroup>
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextA configuration database request context.
stepGroups
Type: System.Collections.Generic.IEnumerable<ServicingStepGroup>A collection of servicing step groups to add to the configuration database.
Exceptions
Exception | Condition |
---|---|
ServicingStepGroupAlreadyExistsException | At least one servicing step group from the stepGroups collection is already defined in the configuration database. |
.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.
See Also
Reference
TeamFoundationServicingService Class