Compartilhar via


IVsPublishableProjectCfg.StopPublish Method

Halts a publishing operation.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function StopPublish ( _
    fSync As Integer _
) As Integer
int StopPublish(
    int fSync
)
int StopPublish(
    [InAttribute] int fSync
)
abstract StopPublish : 
        fSync:int -> int
function StopPublish(
    fSync : int
) : int

Parameters

  • fSync
    Type: Int32

    [in] Boolean. Use true if the publishing operation is synchronous. Otherwise, use false.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsPublishableProjectCfg::StopPublish(
   [in] BOOL fSync
);

.NET Framework Security

See Also

Reference

IVsPublishableProjectCfg Interface

Microsoft.VisualStudio.Shell.Interop Namespace