Removes the System.Web.Configuration.ClientTarget object with the specified alias from the collection.
- name
The alias of the System.Web.Configuration.ClientTarget to remove.
The ClientTargetCollection.Remove(ClientTarget) method deletes the add element in the clientTarget section at the current hierarchy level and inserts a remove element. The remove element effectively removes the reference to the add element defined in the parent configuration files at higher levels in the hierarchy but does not delete it.