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

Return Values

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

S_OK


The method succeeded.

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

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.