Finalize Method

When overridden in a derived class, the Finalize method of the SqlCollectionBase class cleans up resources belonging to the class instance in cases where the Dispose method has not been called.

Remarks

The Finalize method calls the Dispose method of the SqlCollectionBase class to clean up resources. Because the Dispose method calls the System.GC.SuppressFinalize method, the Finalize method is called only when the inherited class instance fails to call Dispose.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security