This documentation is archived and is not being maintained.

OracleCommandBuilder.Dispose Method

.NET Framework 1.1
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Releases the resources used by the OracleCommandBuilder.

Overload List

Releases the unmanaged and, optionally, the managed resources used by the OracleCommandBuilder.

[Visual Basic] Overloads Overrides Protected Sub Dispose(Boolean)
[C#] protected override void Dispose(bool);
[C++] protected: void Dispose(bool);
[JScript] protected override function Dispose(Boolean);

Inherited from Component.

[Visual Basic] Overloads Public Overridable Sub Dispose() Implements IDisposable.Dispose
[C#] public virtual void Dispose();
[C++] public: virtual void Dispose();
[JScript] public function Dispose();


[Visual Basic, C#, C++] The following example creates an OracleCommandBuilder and then disposes of it.

[Visual Basic, C#, C++] Note   This example shows how to use one of the overloaded versions of Dispose. For other examples that might be available, see the individual overload topics.
[Visual Basic] 
Public Sub OracleCommandBuilderHereAndGone()
    Dim myCommandBuilder As New OracleCommandBuilder()
End Sub

public void OracleCommandBuilderHereAndGone() {
   OracleCommandBuilder myCommandBuilder = new OracleCommandBuilder();

 void OracleCommandBuilderHereAndGone() {
    OracleCommandBuilder* myCommandBuilder = new OracleCommandBuilder();

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

OracleCommandBuilder Class | OracleCommandBuilder Members | System.Data.OracleClient Namespace