Share via


MajorObject.Validate Method (ValidationResultCollection)

Indicates whether the MajorObject is valid.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Validate ( _
    results As ValidationResultCollection _
) As Boolean
'Usage
Dim instance As MajorObject 
Dim results As ValidationResultCollection 
Dim returnValue As Boolean 

returnValue = instance.Validate(results)
public bool Validate(
    ValidationResultCollection results
)
public:
bool Validate(
    ValidationResultCollection^ results
)
member Validate : 
        results:ValidationResultCollection -> bool
public function Validate(
    results : ValidationResultCollection
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the MajorObject is valid; otherwise, false.

See Also

Reference

MajorObject Class

Validate Overload

Microsoft.AnalysisServices Namespace