Previous Topic: Class StatementNext Topic: Attribute Definition


Key Statement

Key statements define attribute IDs that are used as the index into the table. When the attributes in a group define a row in a table, the group definition must contain a key statement. Attributes acting as keys can be of any data type. Keys always identify no more than one instance of a group (row of a table).

The key statement syntax is:

key = n[,m]
n

Specifies the attribute ID that acts as the key for this table. If multiple attributes are used to index a table, they should be specified as comma-separated integers. When management applications send requests or component instrumentations send results, key values must be sent in the order that they are listed in the key statement.

Only one key statement is allowed per group.