Closes the DirectoryEntry and releases any system resources associated with this component.
[Visual Basic] Public Sub Close() [C#] public void Close(); [C++] public: void Close(); [JScript] public function Close();
Following a call to Close, any operations on the DirectoryEntry may raise exceptions.
DirectoryEntry Class | DirectoryEntry Members | System.DirectoryServices Namespace