類別 SMS_ImagePackage 中的 ReloadImageProperties 方法

ReloadImageProperties在 Configuration Manager 中,Windows Management Instrumentation (WMI) 類別方法會從影像來源 .wim 檔案重新載入影像中繼資料,並將中繼資料與資料庫同步處理。

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

語法

SInt32 ReloadImageProperties();

參數

無。

傳回值

SInt32資料類型為 0 表示成功,非零表示失敗。

如需處理傳回錯誤的相關資訊,請參閱 關於 Configuration Manager 錯誤。

註解

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

需求

執行階段需求

如需詳細資訊,請參閱 Configuration Manager 伺服器執行階段需求。

開發需求

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

另請參閱

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