在参数中指定执行已知的服务的步骤。
命名空间: Microsoft.TeamFoundation.Framework.Server
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Sub PerformStep ( _
operation As String, _
stepType As String, _
stepData As String, _
context As ServicingContext _
)
void PerformStep(
string operation,
string stepType,
string stepData,
ServicingContext context
)
参数
- operation
类型:System.String
服务操作:安装,升级,等
- stepType
类型:System.String
标识事件的短名称执行,即“CreateDatabase”。IServicingStep.StepType 参见。
- stepData
类型:System.String
数据与 stepType 相关。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。