Compartilhar via


ReloadImageProperties Method in Class SMS_OperatingSystemInstallPackage

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

The ReloadImageProperties Windows Management Instrumentation WMI class method, in Configuration Manager, reloads metadata from the 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.

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

Your application uses this method to update the .wim file associated with the operating system install package. The update is based on the location defined in the PkgSourcePath property of SMS_OperatingSystemInstallPackage Server WMI Class.

The application must:

  1. Establish a connection to the SMS Provider. For more information, see About the SMS Provider in Configuration Manager.

  2. Get the SMS_OperatingSystemInstallPackage object to update.

  3. Call the ReloadImageProperties method.

  4. Commit the SMS_OperatingSystemInstallPackage 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

Concepts

SMS_OperatingSystemInstallPackage Server WMI Class
GetImageProperties Method in Class SMS_OperatingSystemInstallPackage
About the SMS Provider in Configuration Manager