ClassDef ObjectInstances Method

Meta Data Services Programming

Meta Data Services Programming

ClassDef ObjectInstances Method

This method materializes an object collection containing all of the objects in a repository that conform to this class.

Syntax

Set variable  =  object.ObjectInstances

The ObjectInstances method syntax has the following parts.

Part Description
variable A variable declared as an ObjectCol object. It receives the collection of objects that conform to this class.
object An object expression that evaluates to a ClassDef object.
Remarks

The collection contains one version of each object that conforms to the class. For each such object, the repository engine uses criteria to select which version to include in the collection. For more information, see Resolution Strategy for Objects and Object Versions.

ObjectInstances is not scoped to a workspace. All information models in a repository are included in the scope.

See Also

ClassDef Object

ObjectCol Object