共用方式為


ErrorConfiguration 元素 (XMLA)

指定在 BatchProcess 作業期間可能會發生之錯誤的處理設定。

語法

<Batch> <!-- or Process -->
   ...
   <ErrorConfiguration>
      <KeyErrorLimit>...</KeyErrorLimit>
      <KeyErrorLogFile>...</KeyErrorLogFile>
      <KeyErrorAction>...</KeyErrorAction>
      <KeyErrorLimitAction>...</KeyErrorLimitAction>
      <KeyNotFound>...</KeyNotFound>
      <KeyDuplicate>...</KeyDuplicate>
      <NullKeyConvertedToUnknown>...</NullKeyConvertedToUnknown>
      <NullKeyNotAllowed>...<NullKeyNotAllowed>
   </ErrorConfiguration>
   ...
</Batch>

元素特性

特性

說明

資料類型和長度

預設值

基數

0-1:只能出現一次的選擇性元素。

元素關聯性

關聯性

元素

父元素

BatchProcess

子元素

KeyDuplicateKeyErrorActionKeyErrorLimitKeyErrorLimitActionKeyErrorLogFileKeyNotFoundNullKeyConvertedToUnknownNullKeyNotAllowed

備註

這個元素的結構與「Analysis Services 指令碼語言」(ASSL) 中 ErrorConfiguration 元素的結構完全相同。 如需有關 ErrorConfiguration 元素的詳細資訊,請參閱<ErrorConfiguration 元素 (ASSL)>。

請參閱

概念

屬性 (XMLA)