IRepositoryObject Interface
The IRepositoryObject interface provides methods to manage repository objects.
When to Use
Use the IRepositoryObject interface to:
- Retrieve the object identifier or the internal identifier for a repository object.
- Retrieve a repository object type or name.
- Obtain a lock on a repository object.
- Change the name of a repository object.
- Refresh the cached image of a repository object.
- Delete a repository object.
- Get a pointer to an alternate interface that the object exposes.
- Get the open instance of the repository session object through which the object is accessed.
Methods
| IUnknown method |
Description |
| QueryInterface |
Returns pointers to supported interfaces |
| AddRef |
Increments the reference count |
| Release |
Decrements the reference count |
| IDispatch method |
Description |
| GetIDsOfNames |
Maps a single member and a set of argument names to a corresponding set of dispatch identifiers |
| GetTypeInfo |
Retrieves a type information object, which can be used to get the type information for an interface |
| GetTypeInfoCount |
Retrieves the number of type information interfaces that an object provides (either 0 or 1) |
| Invoke |
Provides access to properties and methods exposed by an Automation object |
| IRepositoryDispatch method |
Description |
| get_Properties |
Retrieves the IReposProperties interface pointer. The IReposProperties interface provides access to the Properties collection. |
| IRepositoryItem method |
Description |
| Delete |
Deletes a repository item |
| get_Interface |
Retrieves an interface pointer to the specified item interface |
| get_Name |
Retrieves the name associated with an item |
| get_Repository |
Retrieves the IRepository interface pointer for an open repository instance of an item |
| get_Type |
Retrieves the type of an item |
| Lock |
Locks the item |
| put_Name |
Sets the name associated with an item |
| IRepositoryObject method |
Description |
| get_InternalID |
Retrieves the internal identifier for a repository object |
| get_ObjectID |
Retrieves the object identifier for a repository object |
| Refresh |
Refreshes the cached image of the object |
See Also
ClassDef Class
CollectionDef Class
InterfaceDef Class
MethodDef Class
PropertyDef Class
RelationshipDef Class
RepositoryObject Class
ReposRoot Class
ReposTypeLib Class