IVsDeployableProjectCfg.QueryStartDeploy(UInt32, Int32[], Int32[]) 方法

定义

确定项目是否能够启动部署操作。

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

参数

dwOptions
UInt32

中管理部署过程的选项。 目前没有定义的选项, dwOptions 始终为零。

pfSupported
Int32[]

[out,optional]如果项目支持部署,则设置为的标志 true

pfReady
Int32[]

[out,optional]在 true 项目准备好开始部署过程时设置为的标志。 当前未使用此标志。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell:

HRESULT IVsDeployableProjectCfg::QueryStartDeploy(  
   [in] DWORD dwOptions,  
   [out, optional] BOOL *pfSupported,  
   [out, optional] BOOL *pfReady  
);  

适用于