ErrorConfiguration 类

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

继承层次结构

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

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
<GuidAttribute("DFC2EFB6-E3D4-4A77-9776-932EA64DA506")> _
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.ErrorConfigurationTypeConverter, Microsoft.AnalysisServices.Design")> _
Public NotInheritable Class ErrorConfiguration _
    Inherits Component
用法
Dim instance As ErrorConfiguration
[GuidAttribute("DFC2EFB6-E3D4-4A77-9776-932EA64DA506")]
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.ErrorConfigurationTypeConverter, Microsoft.AnalysisServices.Design")]
public sealed class ErrorConfiguration : Component
[GuidAttribute(L"DFC2EFB6-E3D4-4A77-9776-932EA64DA506")]
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.ErrorConfigurationTypeConverter, Microsoft.AnalysisServices.Design")]
public ref class ErrorConfiguration sealed : public Component
[<SealedAttribute>]
[<GuidAttribute("DFC2EFB6-E3D4-4A77-9776-932EA64DA506")>]
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.ErrorConfigurationTypeConverter, Microsoft.AnalysisServices.Design")>]
type ErrorConfiguration =  
    class 
        inherit Component 
    end
public final class ErrorConfiguration extends Component

ErrorConfiguration 类型公开以下成员。

构造函数

  名称 说明
公共方法 ErrorConfiguration() Initializes a new instance of the ErrorConfiguration class using default values.
公共方法 ErrorConfiguration(String) Initializes a new instance of ErrorConfiguration using a named keyErrorLogFile.
公共方法 ErrorConfiguration(String, Int64) Initializes a new instance of ErrorConfiguration using a named keyErrorLogFile and an keyErrorLimit.

页首

属性

  名称 说明
公共属性 CalculationError Gets or sets the calculation error that occurs during configuration.
公共属性 Container (从 Component 继承。)
公共属性 KeyDuplicate Gets or sets the KeyDuplicate property for an ErrorConfiguration object. This determines how Microsoft?SQL Server 2005 Analysis Services (SSAS) handles a duplicate key error if it encounters one during processing.
公共属性 KeyErrorAction Gets or sets the action for Microsoft?SQL Server 2005 Analysis Services (SSAS) to take when an error occurs on a key.
公共属性 KeyErrorLimit Gets or sets the number of errors allowed during processing.
公共属性 KeyErrorLimitAction Gets or sets the action Microsoft?SQL Server 2005 Analysis Services (SSAS) takes when the key error count that is specified in the KeyErrorLimit element is reached.
公共属性 KeyErrorLogFile Gets or sets the file name for logging processing errors.
公共属性 KeyNotFound Gets or sets how Microsoft?SQL Server 2005 Analysis Services (SSAS) responds when it encounters a referential integrity error.
公共属性 NullKeyConvertedToUnknown Gets or sets the action to be taken when a null conversion error is encountered.
公共属性 NullKeyNotAllowed Gets or sets the property that determines how the Microsoft?SQL Server 2005 Analysis Services (SSAS) processing engine handles a null key error encountered during processing.
公共属性 Site (从 Component 继承。)

页首

方法

  名称 说明
公共方法 Clone Creates a new, full copy of an object.
公共方法 CopyTo Creates a full copy of an object into the existing object that is passed as a parameter.
公共方法 CreateObjRef 安全关键。 (从 MarshalByRefObject 继承。)
公共方法 Dispose (从 Component 继承。)
公共方法 Equals (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetLifetimeService 安全关键。 (从 MarshalByRefObject 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 InitializeLifetimeService 安全关键。 (从 MarshalByRefObject 继承。)
公共方法 ToString (从 Component 继承。)

页首

事件

  名称 说明
公共事件 Disposed (从 Component 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.AnalysisServices 命名空间