Example #1
0
 /// <summary>
 /// Deletes the GPO. You should not invoke any methods on this object after calling Delete.
 /// </summary>
 public void Delete()
 {
     trycatch(() => instance.Delete(),
              "Error deleting the GPO");
     instance = null;
 }
Example #2
0
 internal GroupPolicyObject()
 {
     this.instance = getInstance();
 }