SolutionBuild2::Publish Method (Boolean)

 

Initiates a publish operation.

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

void Publish(
	bool WaitForPublishToFinish = false
)

Parameters

WaitForPublishToFinish
Type: System::Boolean

Optional. Determines whether build retains control until the publish operation is complete. Default value is false.

You can use the OnPublishBegin event to determine when a publish operation has started and the OnPublishDone event to determine when it has completed.

Return to top
Show: