共用方式為


IVsDeployableProjectCfg.StartDeploy Method

Requests that a project begin a deployment operation.

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

Syntax

'宣告
Function StartDeploy ( _
    pIVsOutputWindowPane As IVsOutputWindowPane, _
    dwOptions As UInteger _
) As Integer
'用途
Dim instance As IVsDeployableProjectCfg
Dim pIVsOutputWindowPane As IVsOutputWindowPane
Dim dwOptions As UInteger
Dim returnValue As Integer

returnValue = instance.StartDeploy(pIVsOutputWindowPane, _
    dwOptions)
int StartDeploy(
    IVsOutputWindowPane pIVsOutputWindowPane,
    uint dwOptions
)
int StartDeploy(
    [InAttribute] IVsOutputWindowPane^ pIVsOutputWindowPane, 
    [InAttribute] unsigned int dwOptions
)
abstract StartDeploy : 
        pIVsOutputWindowPane:IVsOutputWindowPane * 
        dwOptions:uint32 -> int 
function StartDeploy(
    pIVsOutputWindowPane : IVsOutputWindowPane, 
    dwOptions : uint
) : int

Parameters

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

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 vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsDeployableProjectCfg Interface

IVsDeployableProjectCfg Members

Microsoft.VisualStudio.Shell.Interop Namespace