Oracle Objects for OLE Release 9.2 Part Number A95895-01 |
|
Applies To
OraRef Object
Description
Specifies whether the object is to be locked during the pin operation.
Arguments
[In/Out] edit_option |
An integer representing the edit option. |
OraRef.EditOption = edit_option
Remarks
This property should be called before a pin operation on a Ref value, that is, before accessing an attribute for the first time on the OraRef object. This option is useful if the object attributes are modified immediately after the pin operation. Locking the object instance during the pin operation saves the round trip to the server during the Edit (OraRef) operation.
Possible values of edit_option are
Possible Values of edit_option
Constant |
Value |
Description |
---|---|---|
ORAREF_NO_LOCK |
|
Does not lock the object in the server(default). |
ORAREF_EXCLUSIVE_LOCK |
2 |
Does exclusive lock on the object in the serve. |
ORAREF_NOWAIT_LOCK |
3 |
Does exclusive lock on the object in the server with the nowait option. |
Integer
Example
Example: EditOption (OraRef) Property
|
Copyright © 1994, 2002 Oracle Corporation. All Rights Reserved. |
|