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 
- deploymentSlot 
 Type: Microsoft.TeamFoundation.Build.Common.AzureDeploymentSlot- Indicates Microsoft Azure slot to redeploy 
- updateSlot
 Type: System.Boolean
Return Value
Type: Microsoft.TeamFoundation.Build.Server.BuildQueueQueryResult
List of queued builds
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.