Metodo DismissedValidationRuleCollection.Add
Adds the specified DismissedValidationRule to the collection.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Function Add ( _
validationRule As ValidationRule, _
comments As String _
) As DismissedValidationRule
'Utilizzo
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
Parametri
- validationRule
Tipo: Microsoft.AnalysisServices.ValidationRule
The validation rule.
- comments
Tipo: System.String
The comments.
Valore restituito
Tipo: Microsoft.AnalysisServices.DismissedValidationRule
The DismissedValidationRule that is added to the collection.