MdxScript.Validate(ValidationErrorCollection, Boolean, ServerEdition) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the MdxScript is valid.
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 of validation errors.
- includeDetailedErrors
- Boolean
true to include detailed errors; otherwise, false.
- serverEdition
- ServerEdition
The server edition.
Returns
true if the MdxScript is valid; otherwise, false.