Sdílet prostřednictvím


DismissedValidationRuleCollection.Add Method

Adds the specified DismissedValidationRule to the collection.

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

Syntax

'Declaration
Public Function Add ( _
    validationRule As ValidationRule, _
    comments As String _
) As DismissedValidationRule
'Usage
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

Parameters

Return Value

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

See Also

Reference

DismissedValidationRuleCollection Class

Microsoft.AnalysisServices Namespace