共用方式為


Refresh Method in Class SMS_SiteInstallMap

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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( );

Parameters

None.

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.

Remarks

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.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Concepts

Configuration Manager Site Configuration Server WMI Classes
SMS_SiteInstallMap Server WMI Class