Deletes this entry and its entire subtree from the Active Directory hierarchy.
[Visual Basic] Public Sub DeleteTree() [C#] public void DeleteTree(); [C++] public: void DeleteTree(); [JScript] public function DeleteTree();
Exception Type | Condition |
---|---|
InvalidOperationException | This method is not supported by the provider. |
CAUTION The entry and its entire subtree are deleted from the Active Directory hierarchy.
DirectoryEntry Class | DirectoryEntry Members | System.DirectoryServices Namespace