GroupPolicyObject.IsComputerEnabled Property


Gets or sets a value that specifies whether the computer portion of the Group Policy object (GPO) is enabled.

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


public bool IsComputerEnabled { get; set; }
property bool IsComputerEnabled {
    bool get();
    void set(bool value);
member IsComputerEnabled : bool with get, set
Public Property IsComputerEnabled As Boolean

Property Value

Type: System.Boolean

Returns Boolean. true to enable the computer portion of the GPO; false to disable it.


Exception Condition

The GroupPolicyObject is disposed.

See Also

GroupPolicyObject Class
Microsoft.GroupPolicy Namespace

Return to top