LockStrength (Record function): Difference between revisions
Jump to navigation
Jump to search
m (Created page with "<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span> LockStrength function <p> <var>LockStrength</var> is a member of th...") |
m (Created page with "<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span> LockStrength function <p> <var>LockStrength</var> is a member of th...") |
||
Line 1: | Line 1: | ||
{{Template:Record:LockStrength subtitle}} | |||
This non-settable property returns a <var>LockStrength</var> enumeration | This non-settable property returns a <var>LockStrength</var> enumeration | ||
that indicates the locking of the <var>Record</var> object. | that indicates the locking of the <var>Record</var> object. | ||
==Syntax== | ==Syntax== | ||
{{Template:Record:LockStrength syntax}} | |||
===Syntax terms=== | |||
===Syntax | |||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%ls</th> | <tr><th>%ls</th> | ||
Line 19: | Line 14: | ||
</td></tr></table> | </td></tr></table> | ||
==Usage | ==Usage notes== | ||
<ul> | <ul> | ||
<li>You can use this property to display the locking for a given <var>Record</var> object. | <li>You can use this property to display the locking for a given <var>Record</var> object. | ||
Line 29: | Line 24: | ||
<li>For more information about enumerations, see [[Enumerations]]. | <li>For more information about enumerations, see [[Enumerations]]. | ||
</ul> | </ul> | ||
==See also== | |||
{{Template:Record:LockStrength footer}} |
Revision as of 21:50, 20 April 2011
Return lock strength of Record (Record class)
This non-settable property returns a LockStrength enumeration
that indicates the locking of the Record object.
Syntax
%lockStrength = record:LockStrength
Syntax terms
%ls | A declared enumeration object of type LockStrength to contain the returned value of %rec'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)". |
---|---|
%rec | An instantiated Record object variable. |
Usage notes
- You can use this property to display the locking for a given Record object.
Note the use of the ToString enumeration method
to print the locking value:
%grouprec = new(1, 'TESTPROC', %e) print %grouprec:lockstrength:toString
- For more information about enumerations, see Enumerations.