This property specifies the type of the Repository object. More specifically, it is the object identifier of the object definition object for the Repository object. Type is a read-only property. To copy this property to another variable, use a variable declared as a Variant.
object.Type
The Type property syntax has the following parts.
Part | Description |
object | An object expression that evaluates to a RepositoryObject object. |
An object in the Repository is simultaneously a Repository object, an Automation object, and an object of a model-specific type, as defined by a tool information model.
The model-specific type of a Repository object is defined by its object definition. Each object definition is itself a Repository object, and consequently has an object identifier assigned to it. In other words, the value of an object definition object's ObjectID property is used as the value of the Type property for all Repository objects that conform to that object definition.