DirectorySearcher.Dispose Method (Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

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: