ModelComponent.Validate ModelComponent.Validate ModelComponent.Validate Method

Definition

Overloads

Validate(ValidationErrorCollection) Validate(ValidationErrorCollection) Validate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

Validate(ValidationErrorCollection, Boolean, ServerEdition) Validate(ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether a ModelComponent object is valid.

Validate(ValidationErrorCollection, Boolean) Validate(ValidationErrorCollection, Boolean) Validate(ValidationErrorCollection, Boolean)

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.

Validate(ValidationErrorCollection) Validate(ValidationErrorCollection) Validate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

public bool Validate (Microsoft.AnalysisServices.ValidationErrorCollection errors);
member this.Validate : Microsoft.AnalysisServices.ValidationErrorCollection -> bool
Public Function Validate (errors As ValidationErrorCollection) As Boolean

Parameters

errors
ValidationErrorCollection ValidationErrorCollection ValidationErrorCollection

A collection within which errors can be logged.

Returns

Indication if the component is valid.

Validate(ValidationErrorCollection, Boolean, ServerEdition) Validate(ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether a ModelComponent object is valid.

public virtual bool Validate (Microsoft.AnalysisServices.ValidationErrorCollection errors, bool includeDetailedErrors, Microsoft.AnalysisServices.ServerEdition serverEdition);
abstract member Validate : Microsoft.AnalysisServices.ValidationErrorCollection * bool * Microsoft.AnalysisServices.ServerEdition -> bool
override this.Validate : Microsoft.AnalysisServices.ValidationErrorCollection * bool * Microsoft.AnalysisServices.ServerEdition -> bool

Parameters

errors
ValidationErrorCollection ValidationErrorCollection ValidationErrorCollection

A collection within which errors can be logged.

includeDetailedErrors
Boolean Boolean Boolean

true if detailed errors is enabled; otherwise false.

serverEdition
ServerEdition ServerEdition ServerEdition

The server edition.

Returns

Indication if the component is valid.

Validate(ValidationErrorCollection, Boolean) Validate(ValidationErrorCollection, Boolean) Validate(ValidationErrorCollection, Boolean)

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 bool Validate (Microsoft.AnalysisServices.ValidationErrorCollection errors, bool includeDetailedErrors);
member this.Validate : Microsoft.AnalysisServices.ValidationErrorCollection * bool -> bool
Public Function Validate (errors As ValidationErrorCollection, includeDetailedErrors As Boolean) As Boolean

Parameters

errors
ValidationErrorCollection ValidationErrorCollection ValidationErrorCollection

A collection within which errors can be logged.

includeDetailedErrors
Boolean Boolean Boolean

true if detailed errors is enabled; otherwise false.

Returns

Indication if the component is valid.

Applies to