MajorObject::Validate Method (ValidationResultCollection^, ValidationOptions, ServerEdition)

 

Applies To: SQL Server (starting with 2016)

Indicates whether the MajorObject is valid.

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

public:
bool Validate(
	ValidationResultCollection^ results,
	ValidationOptions flags,
	ServerEdition serverEdition
)

Parameters

results
Type: Microsoft.AnalysisServices::ValidationResultCollection^

A collection of validation results.

flags
Type: Microsoft.AnalysisServices::ValidationOptions

A validation options.

serverEdition
Type: Microsoft.AnalysisServices::ServerEdition

The server edition.

Return Value

Type: System::Boolean

true if the MajorObject is valid; otherwise, false.

Return to top
Show: