SqlCeCommand.Dispose Method
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
Releases the unmanaged resources used by the SqlCeCommand.
[Visual Basic] Public Overridable Sub Dispose() Implements IDisposable.Dispose [C#] public virtual void Dispose(); [C++] public: virtual void Dispose(); [JScript] public function Dispose();
Implements
Remarks
This method is called by the public Dispose() method and the Finalize method. Dispose() invokes the protected Dispose(Boolean) method with the disposing parameter set to true. Finalize invokes Dispose with disposing set to false.
Notes to Inheritors: Dispose can be called multiple times by other objects.
For more information about Dispose and Finalize, see Cleaning Up Unmanaged Resources and Overriding the Finalize Method.
Requirements
Platforms: .NET Compact Framework
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
SqlCeCommand Class | SqlCeCommand Members | System.Data.SqlServerCe Namespace
Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.