Method ITcComObject:TcGetParentObjId

The method TcGetParentObjId stores Parent Object ID using given OTCID reference.

Syntax


HRESULT TcGetParentObjId( OTCID& objId )

Parameter

objId: (type: OTCID&) reference to OTCID value.

Return value

If successful, S_OK ("0") or another positive value will be returned, cf. Return values. Extended messages refer in particular to the column HRESULT in ADS Return Codes.

Description

The method TcGetParentObjId stores Parent Object ID using given OTCID reference.