Partager via


SolutionBuild.Deploy Method

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

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Sub Deploy ( _
    WaitForDeployToFinish As Boolean _
)
void Deploy(
    bool WaitForDeployToFinish
)
void Deploy(
    [InAttribute] bool WaitForDeployToFinish
)
abstract Deploy : 
        WaitForDeployToFinish:bool -> unit
function Deploy(
    WaitForDeployToFinish : boolean
)

Parameters

  • WaitForDeployToFinish
    Type: System.Boolean

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

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.

.NET Framework Security

See Also

Reference

SolutionBuild Interface

EnvDTE Namespace