Function CSPODBCRecordset::SetConcurrency()
Description:
Sets the concurrency mode.
 |
Prototype:
bool SetConcurrency(long lConcur);
Arguments:
- long lConcur [IN]
The concurrency mode.
Return value:
If successful, it returns true. Otherwise, it returns false.
Remarks:
The supported values are:
CSPODBCRecordset::CONCUR_LOCK for pessimistic locking. CSPODBCRecordset::CONCUR_ROW_VERSION for optimistic locking with row versioning. CSPODBCRecordset::CONCUR_VALUES for optimistic locking with value check. CSPODBCRecordset::CONCUR_READ_ONLY for read only recordset.
See also:
member function SetCursorType()
|
|