ComputerConfiguration.Preference Property


Gets an object that provides access to the Registry preference items in the computer configuration portion of the Group Policy object (GPO).

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


public PreferenceSettings Preference { get; }
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 GPO Editor extension that is used to create, delete, modify, and read the Registry preference items.


For more information, see the PreferenceSettings class.

See Also

ComputerConfiguration Class
Microsoft.GroupPolicy Namespace

Return to top