共用方式為


PerspectiveHierarchy.Validate Method

Definition

Validates the element to which it is appended; returns any errors encountered into 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 to enable detailed errors; 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