Use the ICICommandSettings interface Name property to retrieve the name of a custom command. You can also use the property to change the name. Refer to Command Settings Interface Properties for an illustration of how this and other ICICommandSettings can be accessed in the Administrator interface.
HRESULT Name([out, retval] BSTR *pVal);
HRESULT Name([in] BSTR newVal);