AliasTable (Collection)

Member of:

QueryOptions object

Description:

A read-only collection that enables you to find out what alias tables are available in the current database.

Example:

This example shows how to read the count of alias tables:

var opts = Sections["Query"].QueryOptions;
if (opts.AliasTables.Count > 0) {
    // This database has some alias tables
}

Methods:

Item(Index as Number)—Returns a label at the given index, or with the given name if a dimension of that name is the data layout. If the index value is given as an integer, its value must be between 1 and the value returned by the Count property. If the index is not within this range, an ItemNotFound exception is thrown. If the index value is a string, it must match one of the names of the dimensions on the axis represent by this instance. If not, an ItemNotFound exception is thrown.

Properties:

Read only: Count as Number

Objects:

AliasTableName object