MajorObject.Validate 方法 (ValidationResultCollection, ValidationOptions, ServerEdition)
Indicates whether the MajorObject is valid.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Function Validate ( _
results As ValidationResultCollection, _
flags As ValidationOptions, _
serverEdition As ServerEdition _
) As Boolean
'用途
Dim instance As MajorObject
Dim results As ValidationResultCollection
Dim flags As ValidationOptions
Dim serverEdition As ServerEdition
Dim returnValue As Boolean
returnValue = instance.Validate(results, _
flags, serverEdition)
public bool Validate(
ValidationResultCollection results,
ValidationOptions flags,
ServerEdition serverEdition
)
public:
bool Validate(
ValidationResultCollection^ results,
ValidationOptions flags,
ServerEdition serverEdition
)
member Validate :
results:ValidationResultCollection *
flags:ValidationOptions *
serverEdition:ServerEdition -> bool
public function Validate(
results : ValidationResultCollection,
flags : ValidationOptions,
serverEdition : ServerEdition
) : boolean
參數
- results
型別:Microsoft.AnalysisServices.ValidationResultCollection
A collection of validation results.
- flags
型別:Microsoft.AnalysisServices.ValidationOptions
A validation options.
- serverEdition
型別:Microsoft.AnalysisServices.ServerEdition
The server edition.
傳回值
型別:System.Boolean
true if the MajorObject is valid; otherwise, false.