SetAllUpdatesUserExperience Method in Class CCM_SoftwareUpdatesManager
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.
Syntax
UInt32 SetAllUpdatesUserExperience(
[IN] UInt32 UserExperience
);
Parameters
UserExperience
Data type: UInt32
Qualifiers: [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
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for