다음을 통해 공유


Validate 메서드 (ValidationErrorCollection)

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

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices.dll의 Microsoft.AnalysisServices

구문

‘선언
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.