共用方式為


NullKeyConvertedToUnknown Element (ASSL)

Specifies the action to be taken when a null conversion error is encountered.

語法

<ErrorConfiguration>
   ...
      <NullKeyConvertedToUnknown>...</NullKeyConvertedToUnknown>
   ...
</ErrorConfiguration>

Element Characteristics

Characteristic Description

Data type and length

String (enumeration)

Default value

IgnoreError

Cardinality

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

Element Relationships

Relationship Element

Parent element

ErrorConfiguration

Child elements

None

備註

Null conversion errors occur when a null value is encountered in a key column and interpreted as the Unknown member. However, this error occurs only if the NullProcessing element for the DataItem ancestor of the ErrorConfiguration parent element is set to UnknownMember.

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

Value Description

IgnoreError

Processing ignores the error and continues.

ReportAndContinue

Processing reports the error and continues.

ReportAndStop

Processing reports the error and stops.

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

請參閱

參考

ErrorConfiguration Element (ASSL)
Properties (ASSL)

說明及資訊

取得 SQL Server 2005 協助