Setting a Property

The jomSetProperty call, shown in the following example, is used to set the value of a property of a specified object.

int jomSetProperty(const DskHandle   *pHandle,
                   const DskObjectId *pOid,
                   DskParam          *pProp,
                   const DskParam    *pValue,
                   UInt32            lineNo)

When objects are modified in transaction state, they must be locked exclusively. If the user has not done so, the JADE Object Manager locks the object automatically. The object remains locked until the end of the transaction.

The parameters for this call are described in the following subsections.