Compartilhar via


Método DismissedValidationRuleCollection.Add

Adds the specified DismissedValidationRule to the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    validationRule As ValidationRule, _
    comments As String _
) As DismissedValidationRule
'Uso
Dim instance As DismissedValidationRuleCollection 
Dim validationRule As ValidationRule 
Dim comments As String 
Dim returnValue As DismissedValidationRule 

returnValue = instance.Add(validationRule, _
    comments)
public DismissedValidationRule Add(
    ValidationRule validationRule,
    string comments
)
public:
DismissedValidationRule^ Add(
    ValidationRule^ validationRule, 
    String^ comments
)
member Add : 
        validationRule:ValidationRule * 
        comments:string -> DismissedValidationRule
public function Add(
    validationRule : ValidationRule, 
    comments : String
) : DismissedValidationRule

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices.DismissedValidationRule
The DismissedValidationRule that is added to the collection.

Consulte também

Referência

DismissedValidationRuleCollection Classe

Namespace Microsoft.AnalysisServices