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

参数

返回值

类型:System. . :: . .Boolean
A collection of errors encountered.