The CommandType property of the Command interface contains an enumeration constant that identifies the command option.
Read/write
The value of CommandType determines how the Analysis server interprets the command object. The following table lists the possible values.
Command type | Description |
---|---|
cmdCreateAction | The command contains a CREATE ACTION statement. For more information, see CREATE ACTION Statement. |
cmdCreateMember | The command defines one or more calculated members. |
cmdCreateSet | The command defines one or more sets of existing members. |
cmdUseLibrary | The command specifies a third-party DLL that contains functions to be registered for use in Multidimensional Expressions (MDX). |
cmdUnknown | The command defines statements that are not included in any of the other command types, such as DROP MEMBER statements or new statements that may be added to future versions. |
cmdCreateCellCalculation | The command defines a calculated cells definition. |
Important To ensure compatibility with Analysis Manager, you should create only one action, calculated member, named set, or calculated cells definition per command.