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

Return Value

Type: System.Boolean

A collection of errors encountered.

See Also

Validateā€‚Overload
ModelComponent Class
Microsoft.AnalysisServices Namespace

Return to top