RemoveConnection
Syntax
object.RemoveConnection sConnName
sConnName
String
that represents connection name.
Description
Call
this method to remove an existing connection by specifying the connection node’s
name.
Remarks
RemoveConnection
method
returns True if the connection was found and operation was successful, otherwise
it returns False.
Example
The following code demonstrates how to remove the connection created in
OpenConnection Example.Private Function
DeleteConnection(sConn As String)
As Boolean
DeleteConnection =
ELS_QBCtrl.RemoveConnection(sConn)
End
Function