InterfaceDef ObjectInstances Method

Meta Data Services Programming

Meta Data Services Programming

InterfaceDef ObjectInstances Method

This method materializes an ObjectCol collection of all objects in the repository that expose this interface.

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 expose this interface.
object An object expression that evaluates to an InterfaceDef object.
Remarks

The retrieved collection contains one version of each object that conforms to a class exposing this interface. 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

InterfaceDef Object

ObjectCol Object