ModelComponent.Validate Method (ValidationErrorCollection, Boolean)

Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors.

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

Syntax

VB
'Declaration
Public Function Validate ( _
    errors As ValidationErrorCollection, _
    includeDetailedErrors As Boolean _
) As Boolean
'Usage
Dim instance As ModelComponent 
Dim errors As ValidationErrorCollection 
Dim includeDetailedErrors As Boolean 
Dim returnValue As Boolean 

returnValue = instance.Validate(errors, _
    includeDetailedErrors)

Parameters

  • includeDetailedErrors
    Type: System.Boolean
    true if detailed errors is enabled; otherwise false.

Return Value

Type: System.Boolean
A collection of errors encountered.

See Also

Reference

ModelComponent Class

Validate Overload

Microsoft.AnalysisServices Namespace