ModelComponent.Validate Method (ValidationErrorCollection, Boolean)

 

Applies To: SQL Server (starting with 2016)

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.Core (in Microsoft.AnalysisServices.Core.dll)

No code example is currently available or this language may not be supported.

Parameters

errors
Type: Microsoft.AnalysisServices.ValidationErrorCollection

A collection within which errors can be logged.

includeDetailedErrors
Type: System.Boolean

true if detailed errors is enabled; otherwise false.

Return Value

Type: System.Boolean

A collection of errors encountered.

Return to top
Show: