Olvasás angol nyelven

Megosztás a következőn keresztül:


ModelComponent.Validate Method (ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

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

Syntax

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

returnValue = instance.Validate(errors)

Parameters

Return Value

Type: System.Boolean
A collection of errors encountered.