共用方式為


Add 方法

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

參數