AppRecord Lock() Method

(SBM On-Premise/PaaS only) Locks the calling AppRecord, so other users will not attempt to update it.

Function Signature

 bool Lock( [bool stealLock] )

Parameters

Parameter Type Description

stealLock

bool

(Optional) Defaults to false, meaning if this item is already locked, no lock will be established.

If true, any existing lock on this record will be broken, and changes made by the former lock holder are lost.

Return

Type Description

bool

Returns true if the record is locked by another user.

Technical Details

SBM ModScript version: 11.3.

Example

Notes

None.

Related Topics

AppRecord