Compartilhar via


Método DismissedValidationResultCollection.Add

Appends the specified validation result of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    validationResult As ValidationResult, _
    comments As String _
) As DismissedValidationResult
'Uso
Dim instance As DismissedValidationResultCollection 
Dim validationResult As ValidationResult 
Dim comments As String 
Dim returnValue As DismissedValidationResult 

returnValue = instance.Add(validationResult, _
    comments)
public DismissedValidationResult Add(
    ValidationResult validationResult,
    string comments
)
public:
DismissedValidationResult^ Add(
    ValidationResult^ validationResult, 
    String^ comments
)
member Add : 
        validationResult:ValidationResult * 
        comments:string -> DismissedValidationResult
public function Add(
    validationResult : ValidationResult, 
    comments : String
) : DismissedValidationResult

Parâmetros

  • comments
    Tipo: System.String
    The comments associated with the validation result. 

Valor de retorno

Tipo: Microsoft.AnalysisServices.DismissedValidationResult
The newly added validation result.

Consulte também

Referência

DismissedValidationResultCollection Classe

Namespace Microsoft.AnalysisServices