DB2CommandBuilder.Dispose Method
Releases the resources used by the DB2CommandBuilder.
Overload list
Name | Description |
---|---|
Dispose(Boolean) | Releases the unmanaged and, optionally, the managed resources used by the DB2®CommandBuilder. |
Dispose() | Inherited from Component. |
Example
[Visual Basic, C#] The following example creates a DB2CommandBuilder and then disposes of it.
Note: [Visual Basic, C#] 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 DB2CommandBuilderHereAndGone()
Dim myCommandBuilder As New DB2CommandBuilder()
myCommandBuilder.Dispose()
End Sub
[C#]
public void DB2CommandBuilderHereAndGone() {
DB2CommandBuilder myCommandBuilder = new DB2CommandBuilder();
myCommandBuilder.Dispose();
}