Share via


BuildDeploymentWebService.Redeploy Method

Redeploy a previous successful deployment

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function Redeploy ( _
    deploymentUri As String, _
    deploymentSlot As AzureDeploymentSlot, _
    updateSlot As Boolean _
) As BuildQueueQueryResult
[WebMethodAttribute]
public BuildQueueQueryResult Redeploy(
    string deploymentUri,
    AzureDeploymentSlot deploymentSlot,
    bool updateSlot
)
[WebMethodAttribute]
public:
BuildQueueQueryResult^ Redeploy(
    String^ deploymentUri, 
    AzureDeploymentSlot deploymentSlot, 
    bool updateSlot
)
[<WebMethodAttribute>]
member Redeploy : 
        deploymentUri:string * 
        deploymentSlot:AzureDeploymentSlot * 
        updateSlot:bool -> BuildQueueQueryResult
public function Redeploy(
    deploymentUri : String, 
    deploymentSlot : AzureDeploymentSlot, 
    updateSlot : boolean
) : BuildQueueQueryResult

Parameters

  • deploymentUri
    Type: System.String

    The build uri for the deployment

Return Value

Type: Microsoft.TeamFoundation.Build.Server.BuildQueueQueryResult
List of queued builds

.NET Framework Security

See Also

Reference

BuildDeploymentWebService Class

Microsoft.TeamFoundation.Build.Server Namespace