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
參數
- validationRule
型別:Microsoft.AnalysisServices.ValidationRule
The validation rule.
- comments
型別:System.String
The comments.
傳回值
型別:Microsoft.AnalysisServices.DismissedValidationRule
The DismissedValidationRule that is added to the collection.