MajorObject.Validate Method (ValidationResultCollection, ValidationOptions)
Applies To: SQL Server (starting with 2016)
Indicates whether the MajorObject is valid.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public bool Validate(
ValidationResultCollection results,
ValidationOptions flags
)
public:
bool Validate(
ValidationResultCollection^ results,
ValidationOptions flags
)
member Validate :
results:ValidationResultCollection *
flags:ValidationOptions -> bool
Public Function Validate (
results As ValidationResultCollection,
flags As ValidationOptions
) As Boolean
Parameters
results
Type: Microsoft.AnalysisServices.ValidationResultCollectionA collection of validation results.
flags
Type: Microsoft.AnalysisServices.ValidationOptionsA validation options.
Return Value
Type: System.Boolean
true if the MajorObject is valid; otherwise, false.
See Also
Validate Overload
MajorObject Class
Microsoft.AnalysisServices Namespace
Return to top