NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DirectoryEntry.DeleteTree

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();

Exceptions

Exception Type Condition
InvalidOperationException This method is not supported by the provider.

Remarks

CAUTION   The entry and its entire subtree are deleted from the Active Directory hierarchy.

See Also

DirectoryEntry Class | DirectoryEntry Members | System.DirectoryServices Namespace