Protocol.Covington.WorkRequest.DAL.ConnectionProvider.CloseConnection Function
Purpose: Closes the open connection. Depending on bCommitPendingTransactions, a pending transaction is commited, or aborted.

Public bool CloseConnection (bool)
  Type Name Description  
    bool commitPendingTransaction Flag for what to do when a transaction is still pending. True will commit the current transaction, false will abort (rollback) the complete current transaction.  
  Return Description  
    bool true, if close was succesful, false if connection was already closed, or an Exception exception is thrown when an error occurs