IVsSolutionBuildManager2.StartSimpleUpdateSolutionConfiguration 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
生成、清理或部署解决方案列表。
public:
int StartSimpleUpdateSolutionConfiguration(System::UInt32 dwFlags, System::UInt32 dwDefQueryResults, int fSuppressUI);
public:
int StartSimpleUpdateSolutionConfiguration(unsigned int dwFlags, unsigned int dwDefQueryResults, int fSuppressUI);
int StartSimpleUpdateSolutionConfiguration(unsigned int dwFlags, unsigned int dwDefQueryResults, int fSuppressUI);
public int StartSimpleUpdateSolutionConfiguration (uint dwFlags, uint dwDefQueryResults, int fSuppressUI);
abstract member StartSimpleUpdateSolutionConfiguration : uint32 * uint32 * int -> int
Public Function StartSimpleUpdateSolutionConfiguration (dwFlags As UInteger, dwDefQueryResults As UInteger, fSuppressUI As Integer) As Integer
参数
- dwFlags
- UInt32
中包含生成更新标志的双字。 有关更多信息,请参见VSSOLNBUILDUPDATEFLAGS。
- dwDefQueryResults
- UInt32
中包含的双字 DefQueryResults 。 有关更多信息,请参见VSSOLNBUILDQUERYRESULTS。
- fSuppressUI
- Int32
中如果设置为,则对 true 将不会显示的任何对话框使用默认响应; 否则设置为 false 。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
实现
注解
COM 签名
从 vsshell:
HRESULT IVsSolutionBuildManager2::StartSimpleUpdateSolutionConfiguration(
[in] DWORD dwFlags,
[in] DWORD dwDefQueryResults,
[in] BOOL fSuppressUI
);
StartSimpleUpdateSolutionConfiguration 是 update 命令的变体,允许生成、清理、部署或启动单个解决方案配置。 解决方案配置将 根据解决方案配置属性页 对话框中定义的解决方案配置,确定要生成的整个项目集。 它位于此对话框中,您可以指定要生成哪些项目以及要部署哪些项目。 有关详细信息,请参阅 解决方案配置。