ICatalogObject::get_Name

The get_Name method provides the name of an object in the catalog.

HRESULT ICatalogObject::get_Name(
VARIANT*
retval );

Parameters

retval [out]
Pointer to the name of the object.

Return Values

S_OK
Method completed successfully.

E_INVALIDARG
Out parameter is NULL.

E_NOTIMPL
Object has been removed from the collection.

All MTS objects have a name property. The following table provides the name property for each collection supported by the MTS Explorer:

Collection Name Property
Packages Name
ComponentsInPackage ProgID
RolesInPackage Name
RolesForPackageComponents Name
UsersInRole User
InterfacesForComponent Name
InterfacesForRemoteComponent Name
RemoteComponents ProgID
MethodsForInterface Name