This documentation is archived and is not being maintained.

ActiveDirectoryPartition.Dispose Method (Boolean)

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

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

protected virtual void Dispose (
	bool disposing
)
protected void Dispose (
	boolean disposing
)
protected function Dispose (
	disposing : boolean
)
Not applicable.

Parameters

disposing

A Boolean value that determines if the managed resources should be released. true if the managed resources are released; false if only the unmanaged resources are released.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: