DismissedValidationResultCollection.Add Method
Appends the specified validation result of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
validationResult As ValidationResult, _
comments As String _
) As DismissedValidationResult
'Usage
Dim instance As DismissedValidationResultCollection
Dim validationResult As ValidationResult
Dim comments As String
Dim returnValue As DismissedValidationResult
returnValue = instance.Add(validationResult, _
comments)
public DismissedValidationResult Add(
ValidationResult validationResult,
string comments
)
public:
DismissedValidationResult^ Add(
ValidationResult^ validationResult,
String^ comments
)
member Add :
validationResult:ValidationResult *
comments:string -> DismissedValidationResult
public function Add(
validationResult : ValidationResult,
comments : String
) : DismissedValidationResult
Parameters
- validationResult
Type: Microsoft.AnalysisServices.ValidationResult
The validation result to add.
- comments
Type: System.String
The comments associated with the validation result.
Return Value
Type: Microsoft.AnalysisServices.DismissedValidationResult
The newly added validation result.