共用方式為


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.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function Validate ( _
    errors As ValidationErrorCollection, _
    includeDetailedErrors As Boolean _
) As Boolean
'用途
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

參數

傳回值

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