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
'宣告
Function StopPublish ( _
fSync As Integer _
) As Integer
'用途
Dim instance As IVsPublishableProjectCfg
Dim fSync As Integer
Dim returnValue As Integer
returnValue = instance.StopPublish(fSync)
int StopPublish(
int fSync
)
int StopPublish(
[InAttribute] int fSync
)
abstract StopPublish :
fSync:int -> int
function StopPublish(
fSync : int
) : int
Parameters
- fSync
Type: System.Int32
[in] Boolean. Use true if the publishing operation is synchronous. Otherwise, use false.
Return Value
Type: System.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
- 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.
See Also
Reference
IVsPublishableProjectCfg Interface