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
)

参数

  • updateSlot
    类型:System.Boolean
    指示我们是否应更新部署槽。

返回值

类型:Microsoft.TeamFoundation.Build.Server.BuildQueueQueryResult

.NET Framework 安全性

请参见

参考

TeamFoundationDeploymentService 类

Redeploy 重载

Microsoft.TeamFoundation.Build.Server 命名空间