LockStrength (Recordset function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 1: Line 1:
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
{{Template:Recordset:LockStrength subtitle}}
[[Category:Recordset methods|LockStrength property]]
<p>
<var>LockStrength</var> is a member of the <var>[[Recordset class|Recordset]]</var> class.
</p>


This non-settable property returns a
This non-settable property returns a
Line 9: Line 5:
that indicates the locking of the <var>Recordset</var> object.
that indicates the locking of the <var>Recordset</var> object.
==Syntax==
==Syntax==
<p class="syntax">%ls = %recSet:LockStrength
{{Template:Recordset:LockStrength syntax}}
</p>
===Syntax terms===
===Syntax Terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%ls</th>
<tr><th>%ls</th>
Line 20: Line 15:


</td></tr></table>
</td></tr></table>
==Usage Notes==
==Usage notes==
<ul>
<ul>
<li>If the returned locking value is assigned to an enumeration variable,
<li>If the returned locking value is assigned to an enumeration variable,
Line 26: Line 21:
<li>For more information about enumerations, see [[Enumerations]].
<li>For more information about enumerations, see [[Enumerations]].
</ul>
</ul>
==See also==
{{Template:Recordset:LockStrength footer}}

Revision as of 19:33, 15 April 2011

Return lock strength of Recordset (Recordset class)


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

Syntax

%lockStrength = recordset: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.

See also