GroupPolicyObject.Delete Method ()

 

Deletes the Group Policy object (GPO) represented by this GroupPolicyObject.

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

Syntax

public void Delete()
public:
void Delete()
member Delete : unit -> unit
Public Sub Delete

Remarks

After calling this method, you cannot call other methods of this instance because all data has been deleted for the GPO.

See Also

GroupPolicyObject Class
Microsoft.GroupPolicy Namespace

Return to top