Partilhar via


ValidationErrorCollection.Add Method

Adds a ValidationError to the collection.

Overload List

Name Description
ValidationErrorCollection.Add (ValidationError)
Adds a ValidationError to the end of the collection.
ValidationErrorCollection.Add (IModelComponent, String)
Creates and adds a ValidationError, with the specified IModelComponent value and error description, to the end of the collection.
ValidationErrorCollection.Add (IModelComponent, String, ErrorPriority)
Creates and adds a ValidationError, with the specified IModelComponent value, error description, and ErrorPriority value, to the end of the collection.
ValidationErrorCollection.Add (IModelComponent, String, Int32)
Creates and adds a ValidationError, with the specified IModelComponent value, error description, and error code, to the end of the collection.
ValidationErrorCollection.Add (IModelComponent, String, ErrorPriority, Int32)
Creates and adds a ValidationError, with the specified IModelComponent value, error description, ErrorPriority value, and error code, to the end of the collection.

See Also

Reference

ValidationErrorCollection Class
ValidationErrorCollection Members
Microsoft.AnalysisServices Namespace