Compartilhar via


CommandTypes

ObservaçãoObservação

  Esse recurso será removido na próxima versão do Microsoft SQL Server. Não utilize esse recurso em desenvolvimentos novos e modifique, assim que possível, os aplicativos que atualmente o utilizam.

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.