DirectoryEntry.DeleteTree DirectoryEntry.DeleteTree DirectoryEntry.DeleteTree DirectoryEntry.DeleteTree Method

Definición

Elimina esta entrada y todo el subárbol de la jerarquía de Servicios de dominio de Active Directory.Deletes this entry and its entire subtree from the Active Directory Domain Services hierarchy.

public:
 void DeleteTree();
public void DeleteTree ();
member this.DeleteTree : unit -> unit
Public Sub DeleteTree ()

Excepciones

Comentarios

De los proveedores de Interfaces de servicio de Active Directory (ADSI) proporcionado por el sistema, solo el ligero LDAP Directory Access Protocol () actualmente admite esta operación.Of the Active Directory Service Interfaces (ADSI) system-supplied providers, only the Lightweight Directory Access Protocol (LDAP) currently supports this operation.

Precaución

La entrada y su subárbol completo se eliminan de la jerarquía de Active Directory Domain Services.The entry and its entire subtree are deleted from the Active Directory Domain Services hierarchy.

SeguridadSecurity

Seguridad

DirectoryServicesPermission
Para eliminar la entrada y sus elementos secundarios.To delete the entry and its children.

Se aplica a