ModelComponent::Validate Method (ValidationErrorCollection^, Boolean, ServerEdition)

 

Applies To: SQL Server (starting with 2016)

Indicates whether a ModelComponent object is valid.

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

public:
virtual bool Validate(
	ValidationErrorCollection^ errors,
	bool includeDetailedErrors,
	ServerEdition serverEdition
)

Parameters

errors
Type: Microsoft.AnalysisServices::ValidationErrorCollection^

A collection of validation errors.

includeDetailedErrors
Type: System::Boolean

true to include detailed errors; otherwise, false.

serverEdition
Type: Microsoft.AnalysisServices::ServerEdition

The server edition.

Return Value

Type: System::Boolean

true if a ModelComponent object is valid; otherwise, false.

Return to top
Show: