ComputerConfiguration.Policy Property

 

Gets an object that provides access to the registry-based policy settings in the computer configuration portion of the Group Policy object (GPO).

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

Syntax

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

Property Value

Type: Microsoft.GroupPolicy.PolicySettings

Returns PolicySettings. 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-based policy settings.

Remarks

For more information, see the PolicySettings class.

See Also

ComputerConfiguration Class
Microsoft.GroupPolicy Namespace

Return to top