ModelComponent.Validate Method (ValidationErrorCollection)
Applies To: SQL Server (starting with 2016)
Validates the element to which it is appended; returns any errors encountered in a collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public bool Validate(
ValidationErrorCollection errors
)
public:
bool Validate(
ValidationErrorCollection^ errors
)
member Validate :
errors:ValidationErrorCollection -> bool
Public Function Validate (
errors As ValidationErrorCollection
) As Boolean
Parameters
errors
Type: Microsoft.AnalysisServices.ValidationErrorCollectionA collection within which errors can be logged.
Return Value
Type: System.Boolean
A collection of errors encountered.
See Also
ValidateāOverload
ModelComponent Class
Microsoft.AnalysisServices Namespace
Return to top