Partager via


MdxScript.Validate(ValidationErrorCollection, Boolean, ServerEdition) Method

Definition

Determines whether the MdxScript is valid.

public override bool Validate (Microsoft.AnalysisServices.ValidationErrorCollection errors, bool includeDetailedErrors, Microsoft.AnalysisServices.ServerEdition serverEdition);
override this.Validate : Microsoft.AnalysisServices.ValidationErrorCollection * bool * Microsoft.AnalysisServices.ServerEdition -> bool
Public Overrides Function Validate (errors As ValidationErrorCollection, includeDetailedErrors As Boolean, serverEdition As ServerEdition) As Boolean

Parameters

errors
ValidationErrorCollection

A collection of validation errors.

includeDetailedErrors
Boolean

true to include detailed errors; otherwise, false.

serverEdition
ServerEdition

The server edition.

Returns

true if the MdxScript is valid; otherwise, false.

Applies to