共用方式為


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 命名空間