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.dll의 Microsoft.AnalysisServices
구문
‘선언
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
매개 변수
- errors
형식: Microsoft.AnalysisServices. . :: . .ValidationErrorCollection
A collection within which errors can be logged.
- includeDetailedErrors
형식: System. . :: . .Boolean
true if detailed errors is enabled; otherwise false.
반환 값
형식: System. . :: . .Boolean
A collection of errors encountered.