MajorObject.Validate Método (ValidationResultCollection, ValidationOptions)
Indicates whether the MajorObject is valid.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function Validate ( _
results As ValidationResultCollection, _
flags As ValidationOptions _
) As Boolean
'Uso
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
Parámetros
- results
Tipo: Microsoft.AnalysisServices.ValidationResultCollection
A collection of validation results.
- flags
Tipo: Microsoft.AnalysisServices.ValidationOptions
A validation options.
Valor devuelto
Tipo: System.Boolean
true if the MajorObject is valid; otherwise, false.