NamedComponent.Validate Method (ValidationErrorCollection, Boolean, ServerEdition)
Applies To: SQL Server (starting with 2016)
Determines whether the NamedComponent is valid.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public override bool Validate(
ValidationErrorCollection errors,
bool includeDetailedErrors,
ServerEdition serverEdition
)
public:
virtual bool Validate(
ValidationErrorCollection^ errors,
bool includeDetailedErrors,
ServerEdition serverEdition
) override
override Validate :
errors:ValidationErrorCollection *
includeDetailedErrors:bool *
serverEdition:ServerEdition -> bool
Public Overrides Function Validate (
errors As ValidationErrorCollection,
includeDetailedErrors As Boolean,
serverEdition As ServerEdition
) As Boolean
Parameters
errors
Type: Microsoft.AnalysisServices.ValidationErrorCollectionA collection of validation errors.
includeDetailedErrors
Type: System.Booleantrue to include detailed errors; otherwise, false.
serverEdition
Type: Microsoft.AnalysisServices.ServerEditionThe server edition.
Return Value
Type: System.Boolean
true if the NamedComponent is valid; otherwise, false.
See Also
Validate Overload
NamedComponent Class
Microsoft.AnalysisServices Namespace
Return to top