Delen via


DeploymentService.Redeploy Method (Uri, AzureDeploymentSlot)

Redeploy a previous successful deployment

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

Syntax

'Declaration
Public Function Redeploy ( _
    deploymentUri As Uri, _
    deploymentSlot As AzureDeploymentSlot _
) As IQueuedBuild
public IQueuedBuild Redeploy(
    Uri deploymentUri,
    AzureDeploymentSlot deploymentSlot
)
public:
IQueuedBuild^ Redeploy(
    Uri^ deploymentUri, 
    AzureDeploymentSlot deploymentSlot
)
member Redeploy : 
        deploymentUri:Uri * 
        deploymentSlot:AzureDeploymentSlot -> IQueuedBuild
public function Redeploy(
    deploymentUri : Uri, 
    deploymentSlot : AzureDeploymentSlot
) : IQueuedBuild

Parameters

  • deploymentUri
    Type: System.Uri

    The build uri for the deployment

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IQueuedBuild
List of queued builds

.NET Framework Security

See Also

Reference

DeploymentService Class

Redeploy Overload

Microsoft.TeamFoundation.Build.Client Namespace