Partilhar via


KeyErrorAction Element (ASSL)

Specifies the action for Microsoft SQL Server 2005 Analysis Services (SSAS) to take when an error occurs on a key.

Syntax

<ErrorConfiguration>
   ...
      <KeyErrorAction>...</KeyErrorAction>
   ...
</ErrorConfiguration>

Element Characteristics

Characteristic Description

Data type and length

String (enumeration)

Default value

ConvertToUnknown

Cardinality

0-1: Optional element that can occur once and only once.

Element Relationships

Relationship Element

Parent element

ErrorConfiguration

Child elements

None

Remarks

The value of this element is limited to one of the strings listed in the following table.

Value Description

ConvertToUnknown

Convert the problem key to the unknown member value.

DiscardRecord

Discard the record.

The enumeration that corresponds to the allowed values for KeyErrorAction in the Analysis Management Objects (AMO) object model is KeyErrorAction.

See Also

Reference

Properties (ASSL)

Help and Information

Getting SQL Server 2005 Assistance