Méthode MajorObject.Validate (ValidationResultCollection, ValidationOptions, ServerEdition)
Indicates whether the MajorObject is valid.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Validate ( _
results As ValidationResultCollection, _
flags As ValidationOptions, _
serverEdition As ServerEdition _
) As Boolean
'Utilisation
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
Paramètres
- results
Type : Microsoft.AnalysisServices.ValidationResultCollection
A collection of validation results.
- flags
Type : Microsoft.AnalysisServices.ValidationOptions
A validation options.
- serverEdition
Type : Microsoft.AnalysisServices.ServerEdition
The server edition.
Valeur de retour
Type : System.Boolean
true if the MajorObject is valid; otherwise, false.