company logo

Property :: origin - Get original property handle

When a property handle has been created by cursorCopy(), the function returns a handle copy for the original cursor.

When the property handle refers to a original cursor, the function returns a property handle to the same cursor.

The function throws an exception, when the property handles is not valid.

// fragment: Property  ph;

  if ( ph.isCursor(ph.GetOrigin() )

    printf("Property handle is not a copy cursor");

Return value:  Property reference ( odaba::Property & )

A property handle refers to a (usually) opened property. Invalid properties may cause an exception.

Implementation details

odaba::Property & Property  :: origin (  )