SolutionBuild2.Deploy(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.