This property specifies the type of the workspace. More specifically, it is the object identifier of the workspace definition object of the type information model. 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 Workspace 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 type information model defines a model-specific type called the Workspace type. 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.
This member is exposed by the IRepositoryObjectVersion interface, a non-default interface for this object. For details on how to access a member of an interface that is not the default interface, see Accessing Automation Object Members.