Метод MajorObject.Validate (ValidationResultCollection, ValidationOptions)
Indicates whether the MajorObject is valid.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Validate ( _
results As ValidationResultCollection, _
flags As ValidationOptions _
) As Boolean
'Применение
Dim instance As MajorObject
Dim results As ValidationResultCollection
Dim flags As ValidationOptions
Dim returnValue As Boolean
returnValue = instance.Validate(results, _
flags)
public bool Validate(
ValidationResultCollection results,
ValidationOptions flags
)
public:
bool Validate(
ValidationResultCollection^ results,
ValidationOptions flags
)
member Validate :
results:ValidationResultCollection *
flags:ValidationOptions -> bool
public function Validate(
results : ValidationResultCollection,
flags : ValidationOptions
) : boolean
Параметры
- results
Тип: Microsoft.AnalysisServices.ValidationResultCollection
A collection of validation results.
- flags
Тип: Microsoft.AnalysisServices.ValidationOptions
A validation options.
Возвращаемое значение
Тип: System.Boolean
true if the MajorObject is valid; otherwise, false.