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

請參閱

參考

ModelComponent 類別

Validate 多載

Microsoft.AnalysisServices 命名空間