Cube.Validate Method (ValidationErrorCollection, Boolean, Boolean, ServerEdition)

Determines whether the Cube is valid.

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

Syntax

VB
'Declaration
Public Function Validate ( _
    errors As ValidationErrorCollection, _
    includeDetailedErrors As Boolean, _
    validateBindings As Boolean, _
    serverEdition As ServerEdition _
) As Boolean
'Usage
Dim instance As Cube 
Dim errors As ValidationErrorCollection 
Dim includeDetailedErrors As Boolean 
Dim validateBindings As Boolean 
Dim serverEdition As ServerEdition 
Dim returnValue As Boolean 

returnValue = instance.Validate(errors, _
    includeDetailedErrors, validateBindings, _
    serverEdition)

Parameters

  • includeDetailedErrors
    Type: System.Boolean
    true to include detailed errors; otherwise, false.
  • validateBindings
    Type: System.Boolean
    true to validate a collection of bindings; otherwise, false.

Return Value

Type: System.Boolean
true if the Cube is valid; otherwise, false.

See Also

Reference

Cube Class

Validate Overload

Microsoft.AnalysisServices Namespace