The CommandID property returns the SQLNSCommandID value of a SQLNamespaceCommand object. SQLNSCommandID represents the command that invokes a user interface component on a SQLNamespaceObject object.
SQLNamespaceCommand Object |
object.CommandID
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
Not all SQLNSCommandID values are valid commands on a particular SQLNamespaceObject object. To verify if a command is valid, you must check whether the command is part of the Commands collection on the SQLNamespace object.
Read-only
HRESULT GetCommandID(SQLNSCommandID *pRetVal) = 0;