Compartilhar via


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: Boolean

    Optional. 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

See Also

Reference

SolutionBuild2 Interface

EnvDTE80 Namespace