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.UriThe build uri for the deployment
deploymentSlot
Type: Microsoft.TeamFoundation.Build.Common.AzureDeploymentSlotIndicates Windows Azure slot to redeploy
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IQueuedBuild
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.