Compartilhar via


Método MajorObject.Validate (ValidationResultCollection, ValidationOptions, ServerEdition)

Indicates whether the MajorObject is valid.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function Validate ( _
    results As ValidationResultCollection, _
    flags As ValidationOptions, _
    serverEdition As ServerEdition _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

Tipo: System.Boolean
true if the MajorObject is valid; otherwise, false.

Consulte também

Referência

MajorObject Classe

Sobrecarregado Validate

Namespace Microsoft.AnalysisServices