MSSQL TABLOCKX ?



Hello all,
Using only OLE DB IRowsetChange Interface, I would like to populate a rowset
from a table, while maintaining an exclusive lock on it, then update records
and release the lock.

From now on, my Rowset is pospulated with an SQL QUERY that does the job,
using the WITH TABLOCKX statement. But I do want my code to be DBMS
agnostic.

TIA.


.