Partager via


AttributePermission.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 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 are encountered; otherwise false.

Applies to