Share via


CommandTypes

[!NOTA]

  Questa caratteristica verrà rimossa a partire dalla prossima versione di Microsoft SQL Server. Non utilizzare questa caratteristica in un nuovo progetto di sviluppo e modificare non appena possibile le applicazioni in cui è attualmente implementata.

Enumerates values for the CommandType property.

Constant

Description

cmdCreateAction

Defines one or more actions.

cmdCreateCellCalculation

Defines one or more calculated cells.

cmdCreateMember

Defines one or more calculated members.

cmdCreateSet

Defines one or more named sets of existing members.

cmdUnknown

Defines statements not included in any of the other command types in this table, such as DROP MEMBER statements or new statements that may be added to future versions.

cmdUseLibrary

Specifies DLLs that contain functions to be registered for use in Multidimensional Expressions (MDX) expressions. A user can write a DLL containing some special statistical functions, register this DLL with a USE LIBRARY command, and then run queries using these statistical functions.