Udostępnij za pośrednictwem


DismissedValidationRuleCollection.Add(ValidationRule, String) Method

Definition

Add a DismissedValidationRule to the collection for the specified rule and comment.

public Microsoft.AnalysisServices.DismissedValidationRule Add (Microsoft.AnalysisServices.ValidationRule validationRule, string comments);
member this.Add : Microsoft.AnalysisServices.ValidationRule * string -> Microsoft.AnalysisServices.DismissedValidationRule
Public Function Add (validationRule As ValidationRule, comments As String) As DismissedValidationRule

Parameters

validationRule
ValidationRule

The associated validation rule.

comments
String

The comment.

Returns

The newly created DismissedValidationRule object.

Applies to