ValidationError Class

 

Applies To: SQL Server (starting with 2016)

Represents the base class for validation errors.

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

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.ValidationError

Syntax

[GuidAttribute("6A4FEEEC-977B-4f3a-9694-E65969EAD568")]
public sealed class ValidationError
[GuidAttribute("6A4FEEEC-977B-4f3a-9694-E65969EAD568")]
public ref class ValidationError sealed 
[<Sealed>]
[<GuidAttribute("6A4FEEEC-977B-4f3a-9694-E65969EAD568")>]
type ValidationError = class end
<GuidAttribute("6A4FEEEC-977B-4f3a-9694-E65969EAD568")>
Public NotInheritable Class ValidationError

Constructors

Name Description
System_CAPS_pubmethod ValidationError(IModelComponent, String)

Initializes a new instance of the ValidationError class.

System_CAPS_pubmethod ValidationError(IModelComponent, String, ErrorPriority)

Initializes a new instance of the ValidationError class.

System_CAPS_pubmethod ValidationError(IModelComponent, String, ErrorPriority, Int32)

Initializes a new instance of the ValidationError class.

System_CAPS_pubmethod ValidationError(IModelComponent, String, Int32)

Initializes a new instance of the ValidationError class.

Properties

Name Description
System_CAPS_pubproperty ErrorCode

Gets or sets the error code.

System_CAPS_pubproperty ErrorText

Gets or sets the error text for this instance.

System_CAPS_pubproperty FullErrorText

Gets the full error text for this instance.

System_CAPS_pubproperty Priority

Gets or sets the error priority.

System_CAPS_pubproperty Source

Gets or sets the validation source for this instance.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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