ModelComponent.Validate Method (ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether a ModelComponent object is valid.

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

Syntax

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

returnValue = instance.Validate(errors, _
    includeDetailedErrors, serverEdition)

Parameters

  • includeDetailedErrors
    Type: System.Boolean
    true to include detailed errors; otherwise, false.

Return Value

Type: System.Boolean
true if a ModelComponent object is valid; otherwise, false.

See Also

Reference

ModelComponent Class

Validate Overload

Microsoft.AnalysisServices Namespace