Refresh Method in Class SMS_ResourceMap

The Refresh Windows Management Instrumentation (WMI) class method, in Configuration Manager, updates resource (classes derived from SMS_R_System Server WMI Class) and inventory (classes derived from SMS_G_System_Current Server WMI Class) class definitions.

The following syntax is simplified from Manage Object Format (MOF) code and defines the method.

Syntax

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.

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

SMS_ResourceMap Server WMI Class