The Name property returns the descriptive string displayed in the namespace hierarchy of objects and commands.
SQLNamespaceCommand Object | SQLNamespaceObject Object |
object.Name
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
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.
String
Read-only
HRESULT GetName(BSTR *pRetVal);