Dela via


IVsDeployableProjectCfg.QueryStartDeploy Method

Determines whether or not a project is able to start a deployment operation.

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

Syntax

'Declaration
Function QueryStartDeploy ( _
    dwOptions As UInteger, _
    <OutAttribute> pfSupported As Integer(), _
    <OutAttribute> pfReady As Integer() _
) As Integer
int QueryStartDeploy(
    uint dwOptions,
    int[] pfSupported,
    int[] pfReady
)
int QueryStartDeploy(
    [InAttribute] unsigned int dwOptions, 
    [OutAttribute] array<int>^ pfSupported, 
    [OutAttribute] array<int>^ pfReady
)
abstract QueryStartDeploy : 
        dwOptions:uint32 * 
        pfSupported:int[] byref * 
        pfReady:int[] byref -> int
function QueryStartDeploy(
    dwOptions : uint, 
    pfSupported : int[], 
    pfReady : int[]
) : int

Parameters

  • dwOptions
    Type: UInt32

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

  • pfSupported
    Type: array<Int32[]

    [out, optional] Flag that is set to true if the project supports deployment.

  • pfReady
    Type: array<Int32[]

    [out, optional] Flag that is set to true if the project is ready to start the deployment process. This flag is currently unused.

Return Value

Type: 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::QueryStartDeploy(
   [in] DWORD dwOptions,
   [out, optional] BOOL *pfSupported,
   [out, optional] BOOL *pfReady
);

.NET Framework Security

See Also

Reference

IVsDeployableProjectCfg Interface

Microsoft.VisualStudio.Shell.Interop Namespace