Delete

Marks the computer role for deletion from Active Directory.

Syntax

void Delete()

Exceptions

Delete throws an ApplicationException if it can’t find the computer role, can’t find authorization data for the zone, or failed to delete the role for another reason.