[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 unlock()
 Release network locks in the specified work area
------------------------------------------------------------------------------
 Prototype

     ERRCODE unlock(
                       AREAP wa,
                       ULONG record
                     )

 Arguments

     wa is a pointer to self.

     record is a numeric value that indicates the row to unlock.  record
     is only meaningful if a lock on a record exists.

 Description

     The unlock() method unlocks any network locks held on wa.

 Default Behavior

     You must implement the default behavior of this method through a
     subclass.

 Implementation Notes

     .  Your implementation should flush the data buffer by calling
        SELF_GOCOLD() prior to releasing any network locks.  record is
        provided should your RDD support multiple row locks.  By convention a
        record value of zero (0) indicates that all rows should be unlocked.

 Files  Header file is Rdd.api.


See Also: AREA DBLOCKINFO lock()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson