共用方式為


IVsDeployableProjectCfg.StartDeploy(IVsOutputWindowPane, UInt32) Method

Definition

Requests that a project begin a deployment operation.

public:
 int StartDeploy(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ pIVsOutputWindowPane, System::UInt32 dwOptions);
public:
 int StartDeploy(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ pIVsOutputWindowPane, unsigned int dwOptions);
int StartDeploy(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane const & pIVsOutputWindowPane, unsigned int dwOptions);
public int StartDeploy (Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane pIVsOutputWindowPane, uint dwOptions);
abstract member StartDeploy : Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane * uint32 -> int
Public Function StartDeploy (pIVsOutputWindowPane As IVsOutputWindowPane, dwOptions As UInteger) As Integer

Parameters

pIVsOutputWindowPane
IVsOutputWindowPane

[in] Pointer to the IVsOutputWindowPane interface that can be used to display status during the deployment operation.

dwOptions
UInt32

[in] Options governing the deployment operation. Currently, there are no defined options and dwOptions is always zero.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsDeployableProjectCfg::StartDeploy([in] IVsOutputWindowPane *pIVsOutputWindowPane, [in] DWORD dwOptions);  

Applies to