In Configuration Manager, the Refresh Windows Management Instrumentation (WMI) class method reloads the install map from the database, which repopulates the classes.

The following syntax is simplified from Managed Object Format (MOF) code and is intended to show the definition of the method.

SInt32 Refresh( );



Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For information about handling returned errors, see About Configuration Manager Errors.


This method is used in the rare case when a new component is added by Configuration Manager site setup and the SMS Provider is located on a remote SQL Server computer that might not be restarted. Generally it is not necessary for your application to call this method because the SMS Provider copy of the install map will be up to date.


Runtime Requirements

Development Requirements

See Also

Send comments about this topic to Microsoft.