Metodo ModelComponent.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.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Validate ( _
    errors As ValidationErrorCollection, _
    includeDetailedErrors As Boolean _
) As Boolean
'Utilizzo
Dim instance As ModelComponent 
Dim errors As ValidationErrorCollection 
Dim includeDetailedErrors As Boolean 
Dim returnValue As Boolean 

returnValue = instance.Validate(errors, _
    includeDetailedErrors)
public bool Validate(
    ValidationErrorCollection errors,
    bool includeDetailedErrors
)
public:
bool Validate(
    ValidationErrorCollection^ errors, 
    bool includeDetailedErrors
)
member Validate : 
        errors:ValidationErrorCollection * 
        includeDetailedErrors:bool -> bool
public function Validate(
    errors : ValidationErrorCollection, 
    includeDetailedErrors : boolean
) : boolean

Parametri

  • includeDetailedErrors
    Tipo: System.Boolean
    true if detailed errors is enabled; otherwise false.

Valore restituito

Tipo: System.Boolean
A collection of errors encountered.

Vedere anche

Riferimento

ModelComponent Classe

Overload Validate

Spazio dei nomi Microsoft.AnalysisServices