Udostępnij za pośrednictwem


MeasureGroup.Validate Method

Definition

Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors.

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 within which errors can be logged.

includeDetailedErrors
Boolean

True if detailed errors is enabled; otherwise, false.

serverEdition
ServerEdition

One of the enumeration values that specifies the installed edition of the Analysis Services instance.

Returns

True if no errors encountered; otherwise, false.

Applies to