SolutionBuild2.Publish Method
Initiates a publish operation.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
Sub Publish ( _
WaitForPublishToFinish As Boolean _
)
void Publish(
bool WaitForPublishToFinish
)
void Publish(
bool WaitForPublishToFinish
)
abstract Publish :
WaitForPublishToFinish:bool -> unit
function Publish(
WaitForPublishToFinish : boolean
)
Parameters
WaitForPublishToFinish
Type: System.BooleanOptional. Determines whether build retains control until the publish operation is complete. Default value is false.
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.