LockStrength (Recordset function)

From m204wiki
Revision as of 01:25, 12 April 2011 by JAL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin=dpl_desc/><section end=dpl_desc/>

LockStrength is a member of the Recordset class.

This non-settable property returns a LockStrength enumeration that indicates the locking of the Recordset object.

Syntax

%ls = %recSet:LockStrength

Syntax Terms

%ls A declared enumeration object of type LockStrength to contain the returned value of %recSet's locking. The enumeration values (shared properties) that may be returned (None, Share, or Exclusive), correspond to standard Model 204 record-locking levels, as described in "New (Recordset constructor)".
%recSet An instantiated Recordset object variable.

Usage Notes

  • If the returned locking value is assigned to an enumeration variable, use the ToString enumeration method to print the value string.
  • For more information about enumerations, see Enumerations.