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.