Delete

Deletes the right from Active Directory.

Syntax

void Delete()

Exceptions

Delete throws an ApplicationException if the method cannot find the command right to delete or cannot find authorization data for the zone.

If the Delete method fails, see the message returned by the exception for more specific information about the reason for the failure.