在 IsCurrentWorkingUpdatePackage Configuration Manager 中,Windows Management Instrumentation (WMI) 类方法检查更新包是否是安装程序当前正在处理的包。
以下语法从托管对象格式 (MOF) 代码中简化,并定义了 方法。
语法
SInt32 IsCurrentWorkingUpdatePackage(
boolean IsCurrentWorkingUpdatePackage
);
参数
IsCurrentWorkingUpdatePackage 数据类型: Boolean
限定符:[out]
true 如果更新包是安装程序当前正在处理的包,则为 ;否则为 false。
返回值
一个 SInt32 数据类型,为 0 表示成功,非零表示失败。
有关处理返回的错误的详细信息,请参阅关于Configuration Manager错误。
要求
运行时要求
有关详细信息,请参阅Configuration Manager服务器运行时要求。
开发要求
有关详细信息,请参阅Configuration Manager服务器开发要求。