Share via


ValidationResult Class

 

Applies To: SQL Server (starting with 2016)

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

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

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.ValidationResult

Syntax

public sealed class ValidationResult
public ref class ValidationResult sealed 
[<Sealed>]
type ValidationResult = class end
Public NotInheritable Class ValidationResult

Properties

Name Description
System_CAPS_pubproperty Description

Gets either a ValidationRule.Description or a similar text with parameters.

System_CAPS_pubproperty Rule

Gets the ValidationRule associated with the ValidationResult.

System_CAPS_pubproperty Source

Gets the ModelComponent that is the source of the ValidationResult.

System_CAPS_pubproperty SourcePath

Gets the SourcePath extracted from the Source property.

System_CAPS_pubproperty SourceType

Gets the SourceType extracted from the Source property.

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()

Returns a string representation of the current object.(Overrides Object.ToString().)

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