다음을 통해 공유


DataSource.Validate 메서드 (ValidationErrorCollection, Boolean, ServerEdition)

Determines whether the data source is valid.

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

구문

‘선언
Public Overrides Function Validate ( _
    errors As ValidationErrorCollection, _
    includeDetailedErrors As Boolean, _
    serverEdition As ServerEdition _
) As Boolean
‘사용 방법
Dim instance As DataSource 
Dim errors As ValidationErrorCollection 
Dim includeDetailedErrors As Boolean 
Dim serverEdition As ServerEdition 
Dim returnValue As Boolean 

returnValue = instance.Validate(errors, _
    includeDetailedErrors, serverEdition)
public override bool Validate(
    ValidationErrorCollection errors,
    bool includeDetailedErrors,
    ServerEdition serverEdition
)
public:
virtual bool Validate(
    ValidationErrorCollection^ errors, 
    bool includeDetailedErrors, 
    ServerEdition serverEdition
) override
abstract Validate : 
        errors:ValidationErrorCollection * 
        includeDetailedErrors:bool * 
        serverEdition:ServerEdition -> bool  
override Validate : 
        errors:ValidationErrorCollection * 
        includeDetailedErrors:bool * 
        serverEdition:ServerEdition -> bool
public override function Validate(
    errors : ValidationErrorCollection, 
    includeDetailedErrors : boolean, 
    serverEdition : ServerEdition
) : boolean

매개 변수

  • includeDetailedErrors
    유형: System.Boolean
    true to include detailed errors; otherwise, false.

반환 값

유형: System.Boolean
true if the data source is valid; otherwise, false.

참고 항목

참조

DataSource 클래스

Validate 오버로드

Microsoft.AnalysisServices 네임스페이스