LockStrength (RecordsetCursor function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 1: Line 1:
{{Template:RecordsetCursor:LockStrength subtitle}}
{{Template:RecordsetCursor:LockStrength subtitle}}
 
To indicate the lock strength of the <var>RecordsetCursor</var> object, this method returns a <var>LockStrength</var> enumeration.
This read-only property returns a <var>LockStrength</var> enumeration
that indicates the lock strength of the <var>RecordsetCursor</var> object.


Since a <var>RecordsetCursor</var> is simply a window, of sorts, into a
Since a <var>RecordsetCursor</var> is simply a window, of sorts, into a

Revision as of 23:20, 26 April 2011

Return lock strength of RecordsetCursor object (RecordsetCursor class)

To indicate the lock strength of the RecordsetCursor object, this method returns a LockStrength enumeration.

Since a RecordsetCursor is simply a window, of sorts, into a Recordset or SortedRecordset object, the LockStrength of a RecordsetCursor object is actually the LockStrength of the underlying Recordset or SortedRecordset object. Since SortedRecordsets are not locked, a RecordsetCursor on a SortedRecordset object has a LockStrength of None.

Syntax

%lockStrength = recordsetCursor:LockStrength

Syntax terms

%ls A declared enumeration object of type LockStrength to contain the returned value of %cursor'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 (Record constructor)".
%rscursor An instantiated RecordsetCursor object variable.

Usage notes

  • This property is only available in Sirius Mods 7.0 and later.
  • For more information about enumerations, see Enumerations.

See also