This documentation is archived and is not being maintained.

Deploy Method

Visual Studio .NET 2003

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

[Visual Basic .NET]
Public Sub Deploy( _
   Optional ByVal WaitForDeployToFinish As Boolean = False _
) 
[Visual Basic 6]
Sub Deploy( _
   Optional ByVal WaitForDeployToFinish As Boolean = False _
) 
[C++]
HRESULT __stdcall Deploy(
   VARIANT_BOOL WaitForDeployToFinish
);
[C#]
public void Deploy(
   bool WaitForDeployToFinish
);
[JScript .NET]
public function Deploy(
   WaitForDeployToFinish : Boolean
)

Parameters

WaitForBuildToFinish
Optional. Determines whether Build retains control til 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 BuildDone Event event to determine when the build is complete.

See Also

Applies To: SolutionBuild Object

Show: