Partager via


SolutionBuild2.Publish(Boolean) Method

Definition

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.

Applies to