ReferenceNames() Intrinsic methods SetProperty()

You can use the ReferenceNames() method to enumerate the association objects that refer to a particular target class or instance.

Parameters

Table 225 shows the parameters you can specify for the ReferenceNames() method:

Table 225. ReferenceNames() parameters
Parameter Type Description
ObjectName String Defines the class name or instance name whose referring objects are to be returned.
ResultClass String If not NULL, indicates that all returned object paths must be object paths of instances of this class or one of its subclasses, or must be this class.
Role String If not NULL, must be a valid property name. Each returned object must refer to the target object through a property whose name matches the value of this parameter.
Return values

The ReferenceNames() method enumerates the association objects or returns one of the following error codes:

(C) Copyright International Business Machines Corporation 2003, 2004