Share via


Refresh Method in Class SMS_ResourceMap

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 updates resource (classes derived from SMS_R_System) and inventory (classes derived from SMS_G_System_Current) class definitions.

The following syntax is simplified from Manage 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

Resources are represented by classes that are derived from SMS_R_System Server WMI Class. Inventory classes are represented by classes that are derived from SMS_G_System_Current Server WMI Class.

In practice, your application should never have to call this method because Configuration Manager automatically updates resource and inventory class definitions when changes are made.

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

SMS_ResourceMap Server WMI Class