Export (0) Print
Expand All

ModelComponent.Validate Method (ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether a ModelComponent object is valid.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

'Declaration
Public Overridable Function Validate ( _
	errors As ValidationErrorCollection, _
	includeDetailedErrors As Boolean, _
	serverEdition As ServerEdition _
) As Boolean
'Usage
Dim instance As ModelComponent 
Dim errors As ValidationErrorCollection 
Dim includeDetailedErrors As Boolean 
Dim serverEdition As ServerEdition 
Dim returnValue As Boolean 

returnValue = instance.Validate(errors, _
	includeDetailedErrors, serverEdition)

Parameters

errors
Type: Microsoft.AnalysisServices.ValidationErrorCollection
A collection of validation errors.
includeDetailedErrors
Type: Boolean
true to include detailed errors; otherwise, false.
serverEdition
Type: Microsoft.AnalysisServices.ServerEdition
The server edition.

Return Value

Type: Boolean
true if a ModelComponent object is valid; otherwise, false.

Community Additions

ADD
Show:
© 2014 Microsoft