The SetAllUpdatesUserExperience WMI class method, in Configuration Manager, sets the user experience mode that determines how software updates are displayed on a target computer.

Note
This method can be used to hide or show all software updates in software center.

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

UInt32 SetAllUpdatesUserExperience(
	 [IN]  UInt32 UserExperience
);

Parameters

UserExperience

Data type: UInt32Qualifiers: [in]The user experience flag. The following table shows the possible user experience mode values.

Value User experience

0

DEFAULT (per policy)

1

INTERACTIVE

2

QUIET

Return Values

A UInt32 data type that is 0 to indicate success or nonzero to indicate failure.

For information about handling returned errors, see About Configuration Manager Errors.

Remarks

This method is only available for local administrators. When a software update deployment has been prepared and software updates are available for installation, this method and the GetAllUpdatesUserExperience method can be used to configure the user experience.

Requirements

Runtime Requirements

Development Requirements

See Also