TeamFoundationDeploymentService.Redeploy 方法 (TeamFoundationRequestContext, String, AzureDeploymentSlot, Boolean)
字段前一个部署到指定的部署槽。
命名空间: Microsoft.TeamFoundation.Build.Server
程序集: Microsoft.TeamFoundation.Build.Server(在 Microsoft.TeamFoundation.Build.Server.dll 中)
语法
声明
Public Function Redeploy ( _
requestContext As TeamFoundationRequestContext, _
deploymentUri As String, _
deploymentSlot As AzureDeploymentSlot, _
updateSlot As Boolean _
) As BuildQueueQueryResult
public BuildQueueQueryResult Redeploy(
TeamFoundationRequestContext requestContext,
string deploymentUri,
AzureDeploymentSlot deploymentSlot,
bool updateSlot
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- deploymentUri
类型:System.String
- deploymentSlot
类型:Microsoft.TeamFoundation.Build.Common.AzureDeploymentSlot
其中是部署应面向。只适用于Windows azure部署。
- updateSlot
类型:System.Boolean
指示我们是否应更新部署槽。
返回值
类型:Microsoft.TeamFoundation.Build.Server.BuildQueueQueryResult
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。