DirectoryEntry::Close Method ()
.NET Framework (current version)
Closes the DirectoryEntry object and releases any system resources that are associated with this component.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
Call this method to release unmanaged system resources, without waiting for garbage collection.
Following a call to Close, any operations on the DirectoryEntry might raise exceptions.
.NET Framework
Available since 1.1
Available since 1.1
Show: