共用方式為


類別SMS_ImagePackage中的 ReloadImageProperties 方法

Windows ReloadImageProperties Management Instrumentation (WMI) 類別方法,Configuration Manager 從映射來源 .wim 檔案重載影像元數據,並將元數據與資料庫同步處理。

下列語法是從受控物件格式 (MOF) 程式代碼中簡化,並定義方法。

語法

SInt32 ReloadImageProperties();

參數

無。

傳回值

數據 SInt32 類型,為 0 表示成功或非零表示失敗。

如需處理傳回錯誤的相關信息,請參閱關於 Configuration Manager 錯誤

註解

如需使用此方法的範例,請參閱如何在 Configuration Manager 中更新作系統映像套件

需求

運行時間需求

如需詳細資訊,請參閱 Configuration Manager 伺服器運行時間需求。

開發需求

如需詳細資訊,請參閱 Configuration Manager 伺服器開發需求。

另請參閱

SMS_ImagePackage如何在 Configuration Manager 中更新作系統映像套件SMS_ImagePackage類別中的伺服器 WMI 類別GetImageProperties 方法