Partilhar via


ICCMUpdatesDeployment::SetUserExperienceFlag Method

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

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

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

ICCMUpdatesDeployment Interface
ICCMUpdatesDeployment::GetUserExperienceFlag Method
About Software Updates Deployments
How to Set the Silent Mode on Clients