Symphony Framework
UnLock Method
Example 
Symphony.dB Namespace > DBAccess Class : UnLock Method
Remove any pending locks and abort any pending transaction.
Syntax
public DBResponse UnLock()

Return Value

Returns a value indicating the status of the call.
Example
string itemRecord;
Int32 chan;
Symphony.dB.DBAccess itemAccess = new DBAccess("ITEM", "DATABASE:DatabaseManager");
if (itemAccess.OpenUpdate(out chan) == DBResponse.DBOK)
{
    //Store the record data to the database table
    if (itemAccess.Read("SOL001", 0, out itemRecord) == DBResponse.DBOK)
    {
        //unlock the row
        itemAccess.UnLock();
    }
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DBAccess Class
DBAccess Members