DirectoryEntry.DeleteTree Method

Definition

Exclui essa entrada e sua subárvore inteira da hierarquia do Active Directory Domain Services.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 ()

Exceptions

O DirectoryEntry especificado não é um contêiner.The specified DirectoryEntry is not a container.

Remarks

Dos provedores fornecidos pelo sistema de interfaces do serviço de Active Directory (ADSI), somente o LDAP (Lightweight Directory Access Protocol) dá suporte atualmente a essa operação.Of the Active Directory Service Interfaces (ADSI) system-supplied providers, only the Lightweight Directory Access Protocol (LDAP) currently supports this operation.

Caution

A entrada e sua subárvore inteira são excluídas da hierarquia de Active Directory Domain Services.The entry and its entire subtree are deleted from the Active Directory Domain Services hierarchy.

SegurançaSecurity

Applies to