MajorObject.Validate Method (ValidationResultCollection, ValidationOptions, ServerEdition)
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,
ServerEdition serverEdition
)
public:
bool Validate(
ValidationResultCollection^ results,
ValidationOptions flags,
ServerEdition serverEdition
)
member Validate :
results:ValidationResultCollection *
flags:ValidationOptions *
serverEdition:ServerEdition -> bool
Public Function Validate (
results As ValidationResultCollection,
flags As ValidationOptions,
serverEdition As ServerEdition
) As Boolean
Parameters
results
Type: Microsoft.AnalysisServices.ValidationResultCollectionA collection of validation results.
flags
Type: Microsoft.AnalysisServices.ValidationOptionsA validation options.
serverEdition
Type: Microsoft.AnalysisServices.ServerEditionThe server edition.
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