DismissedValidationRuleCollection.Add 方法

Adds the specified DismissedValidationRule to the collection.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Function Add ( _
    validationRule As ValidationRule, _
    comments As String _
) As DismissedValidationRule
用法
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

参数

返回值

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

请参阅

参考

DismissedValidationRuleCollection 类

Microsoft.AnalysisServices 命名空间