ILobSystemInstance.AssociateConnection Method
Associates the given connection to the current thread of control, which is then used for all operations executed on this thread.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Sub AssociateConnection ( _
connection As Object _
)
'Usage
Dim instance As ILobSystemInstance
Dim connection As Object
instance.AssociateConnection(connection)
void AssociateConnection(
Object connection
)
Parameters
connection
Type: System.ObjectThe given connection to associate.
Remarks
Use the DisassociateConnection() method to disassociate the connection from the current thread. Do not use CloseConnection().