UserConfiguration.Preference Property

 

Gets an object that provides access to the Registry preference items in the user configuration portion of the GPO.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)

Syntax

public PreferenceSettings Preference { get; }
public:
property PreferenceSettings^ Preference {
    PreferenceSettings^ get();
}
member Preference : PreferenceSettings with get
Public ReadOnly Property Preference As PreferenceSettings

Property Value

Type: Microsoft.GroupPolicy.PreferenceSettings

Returns PreferenceSettings. An object that you can use to retrieve an instance of the Group Policy Object Editor extension that is used to create, delete, modify, and read the Registry preference items.

Remarks

For more information, see the PreferenceSettings class.

See Also

UserConfiguration Class
Microsoft.GroupPolicy Namespace

Return to top