CommandTypes

ms132866.note(de-de,SQL.90).gifHinweis:
  Dieses Feature wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature nicht zum Entwickeln neuer Anwendungen, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird, zum frühstmöglichen Zeitpunkt ein.

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.