Updated: October 28, 2009
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 SetUserExperienceFlag method, in Configuration Manager, sets the flag indicating the user experience mode that determines how software updates are displayed on a target computer.
[IDL] HRESULT SetUserExperienceFlag( const ULONG ulUserExperience );
Data type: ULONG
The user experience flag. Possible user experience mode values are:
DEFAULT (per policy)
An HRESULT code. Possible values include, but are not limited to, the following:
- The method succeeded.
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 ICCMUpdatesDeployment::GetUserExperienceFlag Method can be used to configure the user experience. For more information, see the About the Software Updates End User Experience topic in the System Center Configuration Manager 2007 documentation.
An example of code that implements this method is provided in How to Set the Silent Mode on Clients.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.