ValidationResult Class

Represents a validation error, warning or message returned by the MajorObject.Validate method.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.ValidationResult

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

Syntax

'Declaration
Public NotInheritable Class ValidationResult
'Usage
Dim instance As ValidationResult
public sealed class ValidationResult
public ref class ValidationResult sealed
[<SealedAttribute>]
type ValidationResult =  class end
public final class ValidationResult

The ValidationResult type exposes the following members.

Properties

  Name Description
Public property Description Gets either a ValidationRule.Description or a similar text with parameters.
Public property Rule Gets the ValidationRule associated with the ValidationResult.
Public property Source Gets the ModelComponent that is the source of the ValidationResult.
Public property SourcePath Gets the SourcePath extracted from the Source property.
Public property SourceType Gets the SourceType extracted from the Source property.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString Returns a string representation of the current object. (Overrides Object.ToString().)

Top

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

Reference

Microsoft.AnalysisServices Namespace