Partager via


CommandTypes

[!REMARQUE]

  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

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.