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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- deploymentUri
Type: System.String
deploymentSlot
Type: Microsoft.TeamFoundation.Build.Common.AzureDeploymentSlotWhere the deployment should target. Only applicable for Microsoft Azure deployments.
updateSlot
Type: System.BooleanIndicates if we should update the deployment slot.
Return Value
Type: Microsoft.TeamFoundation.Build.Server.BuildQueueQueryResult
.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.