在 stepGroups 集合和服务的步骤列表中添加服务的步骤组设置配置数据库。
命名空间: Microsoft.TeamFoundation.Server.Core.WebServices
程序集: Microsoft.TeamFoundation.Server.Core(在 Microsoft.TeamFoundation.Server.Core.dll 中)
语法
声明
<WebMethodAttribute> _
Public Sub AddServicingStepGroups ( _
stepGroups As List(Of ServicingStepGroup) _
)
[WebMethodAttribute]
public void AddServicingStepGroups(
List<ServicingStepGroup> stepGroups
)
参数
- stepGroups
类型:System.Collections.Generic.List<ServicingStepGroup>
添加的服务的步骤组的集合到配置数据库。
异常
异常 | 条件 |
---|---|
ServicingStepGroupAlreadyExistsException | 至少从 stepGroups 集合的某项服务的步骤组在配置数据库中已定义。 |
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。