在 Configuration Manager 中,RequestRefreshWindows Management Instrumentation (WMI) 類別方法會觸發 Configuration Manager 集合評估工具元件對集合成員資格的重新評估。
下列語法是從「受控物件格式」 (MOF) 程式碼簡化而來,用來顯示方法的定義。
語法
SInt32 RequestRefresh();
參數
注意事項
先前可用的參數includesubcollections已在 Configuration Manager 中棄用。
傳回值
SInt32資料類型為 0 表示成功,非零表示失敗。
如需處理傳回錯誤的詳細資訊,請參閱 關於 Configuration Manager 錯誤。
需求
執行階段需求
如需詳細資訊,請參閱 Configuration Manager 伺服器執行階段需求。
開發需求
如需詳細資訊,請參閱 Configuration Manager 伺服器開發需求。