Oracle Objects for OLE
Release 9.0.1

Part Number A90173-01

Home

Book List

Contents

Master Index

Feedback

EditOption (OraRef) Property

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.
Usage

edit_option = OraRef.EditOption

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

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.
Data Type

Integer

Example

Example: EditOption (OraRef) Property


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents