Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataSource.Validate Method

 

Applies To: SQL Server 2016 Preview

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

NameDescription
System_CAPS_pubmethodValidate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.(Inherited from ModelComponent.)

System_CAPS_pubmethodValidate(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.(Inherited from ModelComponent.)

System_CAPS_pubmethodValidate(ValidationErrorCollection, Boolean, ServerEdition)

Determines whether the data source is valid.(Overrides NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)

System_CAPS_pubmethodValidate(ValidationResultCollection)

Indicates whether the MajorObject is valid.(Inherited from MajorObject.)

System_CAPS_pubmethodValidate(ValidationResultCollection, ValidationOptions)

Indicates whether the MajorObject is valid.(Inherited from MajorObject.)

System_CAPS_pubmethodValidate(ValidationResultCollection, ValidationOptions, ServerEdition)

Indicates whether the MajorObject is valid.(Inherited from MajorObject.)

Return to top

DataSource.Validate Method (ValidationErrorCollection, Boolean, ServerEdition)

Determines whether the data source is valid.

public override bool Validate(
	ValidationErrorCollection errors,
	bool includeDetailedErrors,
	ServerEdition serverEdition
)

Parameters

errors
Type: Microsoft.AnalysisServices.ValidationErrorCollection

The collection of errors.

includeDetailedErrors
Type: System.Boolean

true to include detailed errors; otherwise, false.

serverEdition
Type: Microsoft.AnalysisServices.ServerEdition

The server edition.

Return Value

Type: System.Boolean

true if the data source is valid; otherwise, false.

Return to top
Show:
© 2015 Microsoft