Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ICCMUpdatesDeployment::SetUserExperienceFlag Method

System Center

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
);

Parameters

ulUserExperience
Data type: ULONG

Qualifiers: [in]

The user experience flag. Possible user experience mode values are:

 

0

DEFAULT (per policy)

1

INTERACTIVE

2

QUIET

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK
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.

Runtime Requirements

Development Requirements

Show:
© 2015 Microsoft