Platform SDK: Transaction Server |
[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]
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 |