Partager via


Méthode Add

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    validationRule As ValidationRule, _
    comments As String _
) As DismissedValidationRule
'Utilisation
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

Paramètres