共用方式為


IVsDeployableProjectCfg.QueryStartDeploy(UInt32, Int32[], Int32[]) Method

Definition

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

int QueryStartDeploy(unsigned int dwOptions, std::Array <int> const & pfSupported, std::Array <int> const & pfReady);
public int QueryStartDeploy (uint dwOptions, int[] pfSupported, int[] pfReady);
abstract member QueryStartDeploy : uint32 * int[] * int[] -> int
Public Function QueryStartDeploy (dwOptions As UInteger, Optional pfSupported As Integer(), Optional pfReady As Integer()) As Integer

Parameters

dwOptions
UInt32

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

pfSupported
Int32[]

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

pfReady
Int32[]

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

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

Applies to