ReloadImageProperties Method in Class SMS_BootImagePackage

The ReloadImageProperties Windows Management Instrumentation WMI class method, in Configuration Manager, reloads image metadata from a boot image source .wim file and synchronizes the metadata with the database.

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

Syntax

SInt32 ReloadImageProperties();  

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

The application uses this method if the administrator changes the boot image source .wim file outside of the Configuration Manager console. The application should:

  1. Establish a connection to the SMS Provider. For more information, see SMS Provider fundamentals.

  2. Obtain the SMS_BootImagePackage Server WMI Class object to update.

  3. Call ReloadImageProperties.

  4. Commit the SMS_BootImagePackage object.

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_BootImagePackage Server WMI Class
UpdateImage Method in Class SMS_BootImagePackage