ModelComponent.Validate Method (ValidationErrorCollection, Boolean, ServerEdition)

 

Applies To: SQL Server (starting with 2016)

Indicates whether a ModelComponent object is valid.

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

Syntax

public virtual bool Validate(
    ValidationErrorCollection errors,
    bool includeDetailedErrors,
    ServerEdition serverEdition
)
public:
virtual bool Validate(
    ValidationErrorCollection^ errors,
    bool includeDetailedErrors,
    ServerEdition serverEdition
)
abstract Validate : 
        errors:ValidationErrorCollection *
        includeDetailedErrors:bool *
        serverEdition:ServerEdition -> bool
override Validate : 
        errors:ValidationErrorCollection *
        includeDetailedErrors:bool *
        serverEdition:ServerEdition -> bool
Public Overridable Function Validate (
    errors As ValidationErrorCollection,
    includeDetailedErrors As Boolean,
    serverEdition As ServerEdition
) As Boolean

Parameters

  • includeDetailedErrors
    Type: System.Boolean

    true to include detailed errors; otherwise, false.

Return Value

Type: System.Boolean

true if a ModelComponent object is valid; otherwise, false.

See Also

Validate Overload
ModelComponent Class
Microsoft.AnalysisServices Namespace

Return to top