Поделиться через


TeamFoundationDeploymentService.Redeploy Method (TeamFoundationRequestContext, String, AzureDeploymentSlot, Boolean)

Redeploys a previous deployment to a specified deployment slot.

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
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
)
public:
BuildQueueQueryResult^ Redeploy(
    TeamFoundationRequestContext^ requestContext, 
    String^ deploymentUri, 
    AzureDeploymentSlot deploymentSlot, 
    bool updateSlot
)
member Redeploy : 
        requestContext:TeamFoundationRequestContext * 
        deploymentUri:string * 
        deploymentSlot:AzureDeploymentSlot * 
        updateSlot:bool -> BuildQueueQueryResult
public function Redeploy(
    requestContext : TeamFoundationRequestContext, 
    deploymentUri : String, 
    deploymentSlot : AzureDeploymentSlot, 
    updateSlot : boolean
) : BuildQueueQueryResult

Parameters

  • updateSlot
    Type: System.Boolean

    Indicates if we should update the deployment slot.

Return Value

Type: Microsoft.TeamFoundation.Build.Server.BuildQueueQueryResult

.NET Framework Security

See Also

Reference

TeamFoundationDeploymentService Class

Redeploy Overload

Microsoft.TeamFoundation.Build.Server Namespace