CommandID Property (SQL-NS)

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

Part Description
object Expression that evaluates to an object in the Applies To list

Remarks

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.

Data Type

SQLNSCommandID

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetCommandID(SQLNSCommandID *pRetVal) = 0;

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.