RemoveByID

Removes the map entry with the specified ID.

Syntax

void Remove(string id);

Parameter

Specify the following parameter when using this method:

Parameter Description
id The ID that uniquely defines this entry in the NIS map.

Exceptions

RemoveByID throws an ApplicationException if it can’t find the DirectoryEntry object.