The GetAllUpdatesUserExperience WMI class method, in Configuration Manager, gets the user experience mode that determines how software updates are displayed on a target computer.
|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 GetAllUpdatesUserExperience( [OUT] UInt32 UserExperience );
- Data type: UInt32Qualifiers: [out]The user experience
mode. The following table shows the possible user experience mode
Value User experience
DEFAULT (per policy)
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.
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 SetAllUpdatesUserExperience method can be used to configure the user experience.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.