ILobSystemInstance.DisassociateConnection Method
Disassociates the current thread from any connection object.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Sub DisassociateConnection
'Usage
Dim instance As ILobSystemInstance
instance.DisassociateConnection()
void DisassociateConnection()
Remarks
Use this method in conjunction with the DisassociateConnection()method. Never use it on connections opened by using OpenConnection(), as it will create an orphaned unclosed connection.