類別SMS_Collection中的 RequestRefresh 方法

Configuration Manager RequestRefresh 中的 Windows Management Instrumentation (WMI) 類別方法會觸發Configuration Manager集合評估工具元件重新評估集合成員資格。

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

語法

SInt32 RequestRefresh();  

參數

注意事項

先前可用的參數 includesubcollections 在Configuration Manager中已被取代。

傳回值

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

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

需求

執行時間需求

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

開發需求

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

另請參閱

SMS_Collection伺服器 WMI 類別
SMS_Site伺服器 WMI 類別