Partager via


Validate méthode (ValidationErrorCollection)

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Validate ( _
    errors As ValidationErrorCollection _
) As Boolean
'Utilisation
Dim instance As ModelComponent
Dim errors As ValidationErrorCollection
Dim returnValue As Boolean

returnValue = instance.Validate(errors)
public bool Validate(
    ValidationErrorCollection errors
)
public:
bool Validate(
    ValidationErrorCollection^ errors
)
member Validate : 
        errors:ValidationErrorCollection -> bool 
public function Validate(
    errors : ValidationErrorCollection
) : boolean

Paramètres

Valeur de retour

Type : System. . :: . .Boolean
A collection of errors encountered.