DirectorySearcher.Dispose Method (Boolean)

 

Releases the managed resources that are used by the DirectorySearcher object and, optionally, releases unmanaged resources.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

override Dispose : 
        disposing:bool -> unit

Parameters

disposing
Type: System.Boolean

true if this method releases both managed and unmanaged resources; false if it releases only unmanaged resources.

.NET Framework
Available since 1.1
Return to top
Show: