ActiveDirectorySchema.Dispose Method (Boolean)


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

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

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

protected override void Dispose(
	bool disposing


Type: System.Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

The disposing parameter affects only the release of managed resources. Unmanaged resources are always released by this method.

.NET Framework
Available since 2.0
Return to top