SolutionBuild2.Publish(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.
Initiates a publish operation.
void Publish(bool WaitForPublishToFinish = false);
[System.Runtime.InteropServices.DispId(100)]
public void Publish (bool WaitForPublishToFinish = false);
[<System.Runtime.InteropServices.DispId(100)>]
abstract member Publish : bool -> unit
Public Sub Publish (Optional WaitForPublishToFinish As Boolean = false)
Parameters
- WaitForPublishToFinish
- Boolean
Optional. Determines whether build retains control until the publish operation is complete. Default value is false
.
- Attributes
Remarks
You can use the OnPublishBegin event to determine when a publish operation has started and the OnPublishDone event to determine when it has completed.