MDSCHEMA_ACTIONS Rowset
Describes the actions that may be available to the client application.
Rowset Columns
The MDSCHEMA_ACTIONS rowset contains the following columns.
Column name | Type indicator | Length | Description |
---|---|---|---|
CATALOG_NAME |
DBTYPE_WSTR |
The name of the database. |
|
SCHEMA_NAME |
DBTYPE_WSTR |
Not supported. Always contains VT_NULL. |
|
CUBE_NAME |
DBTYPE_WSTR |
The name of the cube to which this action belongs. |
|
ACTION_NAME |
DBTYPE_WSTR |
The name of this action. |
|
ACTION_TYPE |
DBTYPE_I4 |
A bitmap that is used to specify the action's triggering method. The Msmd.h file defines the following bit value constants for this bitmap:
|
|
COORDINATE |
DBTYPE_WSTR |
A Multidimensional Expressions (MDX) expression that specifies an object or a coordinate in the multidimensional space in which the action is performed. It is the responsibility of the client application to provide the value of this restriction column. The CORDINATE must resolve to the object specified in COORDINATE_TYPE. |
|
COORDINATE_TYPE |
DBTYPE_I4 |
A bitmap that specifies how the COORDINATE restriction column is interpreted. The Msmd.h file defines the following bit value constants for this bitmap:
|
|
ACTION_CAPTION |
DBTYPE_WSTR |
The action name if no caption was specified and no translations were specified in the DDL. If a caption or translations were specified, and CaptionIsMDX is false, one of the following strings:
If a caption or translations were specified, and CaptionIsMDX is true, the string resulting from finding the appropriate translation for the specified language or the specified translation in the DDL caption, and calculating the formula to create the string. If the action was specified in MDX Script, there are no translations and the caption is always treated as MDX expression. |
|
DESCRIPTION |
DBTYPE_WSTR |
A user-friendly description of the action. |
|
CONTENT |
DBTYPE_WSTR |
The expression or content of the action that is to be run. |
|
APPLICATION |
DBTYPE_WSTR |
The name of the application that is to be used to run the action. |
|
INVOCATION |
DBTYPE_I4 |
Information about how the action should be invoked:
These enumeration values are defined in the file, Msmd.h. |
The rowset is sorted on CATALOG_NAME, SCHEMA_NAME, CUBE_NAME, ACTION_NAME.
[!NOTA] Actions of MDACTION_TYPE_PROPRIETARY type must provide a value for the APPLICATION column.
Restriction Columns
The MDSCHEMA_ACTIONS rowset can be restricted on the columns listed in the following table.
Column name | Type indicator | Restriction State |
---|---|---|
CATALOG_NAME |
DBTYPE_WSTR |
Optional |
SCHEMA_NAME |
DBTYPE_WSTR |
Optional |
CUBE_NAME |
DBTYPE_WSTR |
Mandatory |
ACTION_NAME |
DBTYPE_WSTR |
Optional |
ACTION_TYPE |
DBTYPE_I4 |
Optional |
COORDINATE |
DBTYPE_WSTR |
Mandatory |
COORDINATE_TYPE |
DBTYPE_I4 |
Mandatory |
INVOCATION |
DBTYPE_I4 |
(Optional) The INVOCATION restriction column defaults to the value of MDACTION_INVOCATION_INTERACTIVE. To retrieve all actions, use the MDACTION_INVOCATION_ALL value in the INVOCATION restriction column. |
CUBE_SOURCE |
DBTYPE_UI2 |
(Optional) A bitmap with one of the following valid values:
Default restriction is a value of 1. |
Importante: |
---|
The INVOCATION restriction column has a default value of MDACTION_INVOCATION_INTERACTIVE. Any schema rowset that does not explicitly specify a value for this column contains only rows with this value. If you want the rowset to contain the entire set of actions, use the MDACTION_INVOCATION_ALL constant in the INVOCATION restriction column. |
Client applications can define more than one ACTION_TYPE by using the OR operator.
Notas
The following table lists the valid COORDINATE and COORDINATE_TYPE combinations.
COORDINATE object type | COORDINATE_TYPE |
---|---|
Cube |
MDACTION_COORDINATE_CUBE |
Dimension |
MDACTION_COORDINATE_DIMENSION MDACTION_COORDINATE_LEVEL MDACTION_COORDINATE_MEMBER MDACTION_COORDINATE_SET MDACTION_COORDINATE_CELL |
Hierarchy |
MDACTION_COORDINATE_DIMENSION |
Level |
MDACTION_COORDINATE_LEVEL |
Member |
MDACTION_COORDINATE_MEMBER |
Set |
MDACTION_COORDINATE_SET |
cell |
MDACTION_COORDINATE_CELL |
Vea también
Referencia
OLE DB for OLAP Schema Rowsets