Метод Validate (ValidationErrorCollection)
Validates the element to which it is appended; returns any errors encountered in a collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Validate ( _
errors As ValidationErrorCollection _
) As Boolean
'Применение
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
Параметры
- errors
Тип Microsoft.AnalysisServices. . :: . .ValidationErrorCollection
A collection within which errors can be logged.
Возвращаемое значение
Тип System. . :: . .Boolean
A collection of errors encountered.