Dispose Method (Boolean)
Collapse the table of content
Expand the table of content

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)

protected override void Dispose(
	bool 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
© 2015 Microsoft