ErrorConfiguration Class

 

Applies To: SQL Server (starting with 2016)

Specifies settings for handling errors that can occur when the parent element is processed. This class cannot be inherited.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ErrorConfiguration

Syntax

[TypeConverterAttribute("Microsoft.AnalysisServices.Design.ErrorConfigurationTypeConverter, Microsoft.AnalysisServices.Design")]
[GuidAttribute("DFC2EFB6-E3D4-4A77-9776-932EA64DA506")]
public sealed class ErrorConfiguration : Component
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.ErrorConfigurationTypeConverter, Microsoft.AnalysisServices.Design")]
[GuidAttribute("DFC2EFB6-E3D4-4A77-9776-932EA64DA506")]
public ref class ErrorConfiguration sealed : Component
[<Sealed>]
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.ErrorConfigurationTypeConverter, Microsoft.AnalysisServices.Design")>]
[<GuidAttribute("DFC2EFB6-E3D4-4A77-9776-932EA64DA506")>]
type ErrorConfiguration = 
    class
        inherit Component
    end
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.ErrorConfigurationTypeConverter, Microsoft.AnalysisServices.Design")>
<GuidAttribute("DFC2EFB6-E3D4-4A77-9776-932EA64DA506")>
Public NotInheritable Class ErrorConfiguration
    Inherits Component

Constructors

Name Description
System_CAPS_pubmethod ErrorConfiguration()

Initializes a new instance of the ErrorConfiguration class using default values.

System_CAPS_pubmethod ErrorConfiguration(String)

Initializes a new instance of ErrorConfiguration using a named keyErrorLogFile.

System_CAPS_pubmethod ErrorConfiguration(String, Int64)

Initializes a new instance of ErrorConfiguration using a named keyErrorLogFile and an keyErrorLimit.

Properties

Name Description
System_CAPS_pubproperty CalculationError

Gets or sets the calculation error that occurs during configuration.

System_CAPS_pubproperty Container

(Inherited from Component.)

System_CAPS_pubproperty KeyDuplicate

Gets or sets the KeyDuplicate property for an ErrorConfiguration object. This determines how Analysis Services handles a duplicate key error if it encounters one during processing.

System_CAPS_pubproperty KeyErrorAction

Gets or sets the action for Analysis Services to take when an error occurs on a key.

System_CAPS_pubproperty KeyErrorLimit

Gets or sets the number of errors allowed during processing.

System_CAPS_pubproperty KeyErrorLimitAction

Gets or sets the action Analysis Services takes when the key error count that is specified in the KeyErrorLimit element is reached.

System_CAPS_pubproperty KeyErrorLogFile

Gets or sets the file name for logging processing errors.

System_CAPS_pubproperty KeyNotFound

Gets or sets how Analysis Services responds when it encounters a referential integrity error.

System_CAPS_pubproperty NullKeyConvertedToUnknown

Gets or sets the action to be taken when a null conversion error is encountered.

System_CAPS_pubproperty NullKeyNotAllowed

Gets or sets the property that determines how Analysis Services processing engine handles a null key error encountered during processing.

System_CAPS_pubproperty Site

(Inherited from Component.)

Methods

Name Description
System_CAPS_pubmethod Clone()

Creates a new, full copy of an object.

System_CAPS_pubmethod CopyTo(ErrorConfiguration)

Creates a full copy of an object into the existing object that is passed as a parameter.

System_CAPS_pubmethod CreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod Dispose()

(Inherited from Component.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod InitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod ToString()

(Inherited from Component.)

Events

Name Description
System_CAPS_pubevent Disposed

(Inherited from Component.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.AnalysisServices Namespace

Return to top