UpdateDefaultImage Method in Class SMS_BootImagePackage

The UpdateDefaultImage Windows Management Instrumentation (WMI) class method, in Configuration Manager, creates a copy of the .wim image pointed to by the ImagePath property and injects it with operating system deployment files for boot image deployment.

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

Syntax

SInt32 UpdateDefaultImage();  

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 expects an SMS_BootImagePackage instance with the ImagePath property being a valid .wim image.

Your application calls this method only when Configuration Manager is upgrading from an operating system release candidate to an RTM version.

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