Compartir a través de


ModelComponent.Validate Método (ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Function Validate ( _
    errors As ValidationErrorCollection _
) As Boolean
'Uso
Dim instance As ModelComponent 
Dim errors As ValidationErrorCollection 
Dim returnValue As Boolean 

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

Parámetros

Valor devuelto

Tipo: System.Boolean
A collection of errors encountered.

Vea también

Referencia

ModelComponent Clase

Sobrecarga de Validate

Espacio de nombres Microsoft.AnalysisServices