DismissedValidationRuleCollection.Add Method (ValidationRule, String)
Applies To: SQL Server 2016 Preview
Adds the specified DismissedValidationRule to the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
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 As ValidationRule,
comments As String
) As DismissedValidationRule
Parameters
validationRule
Type: Microsoft.AnalysisServices.ValidationRuleThe validation rule.
comments
Type: System.StringThe comments.
Return Value
Type: Microsoft.AnalysisServices.DismissedValidationRule
The DismissedValidationRule that is added to the collection.
See Also
DismissedValidationRuleCollection Class
Microsoft.AnalysisServices Namespace
Return to top