CommandID Property

SQL-NS

SQL-NS

CommandID Property

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.

Applies To
SQLNamespaceCommand Object
Syntax

object.CommandID

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

SQLNSCommandID

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetCommandID(SQLNSCommandID *pRetVal) = 0;

Remarks

Not all SQLNSCommandID values are valid commands on a particular SQLNamespaceObject object. To verify that a command is valid, you must verify that the command is part of the Commands collection on the SQLNamespace object.