Partilhar via


SolutionBuild2.Deploy(Boolean) Method

Definition

Causes each project in the active solution configuration that is marked for deployment to deploy.

void Deploy(bool WaitForDeployToFinish = false);
[System.Runtime.InteropServices.DispId(10)]
public void Deploy (bool WaitForDeployToFinish = false);
[<System.Runtime.InteropServices.DispId(10)>]
abstract member Deploy : bool -> unit
Public Sub Deploy (Optional WaitForDeployToFinish As Boolean = false)

Parameters

WaitForDeployToFinish
Boolean

Optional. Determines whether build retains control until the deployment operation is complete. Default value is false.

Implements

Attributes

Remarks

When invoked, Deploy initiates a build. If you set WaitForBuildToFinish to false—that is, control returns immediately after initiating a build—you can use the OnBuildDone event to determine when the build is complete.

Applies to