The Name property returns the descriptive string displayed in the namespace hierarchy of objects and commands.
object.Name
object
Expression that evaluates to an object in the Applies To list
String
Read-only
HRESULT GetName(BSTR *pRetVal);
In the case of the SQLNamespaceCommand object, Name returns the name of the command. The value of Name can then be used as the parameter for the ExecuteCommandByName method on the SQLNamespaceObject object. On the SQLNamespaceObject object, it returns the name of the object.