MajorObject.Validate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Validate(ValidationResultCollection, ValidationOptions) |
Indicates whether the MajorObject is valid. |
Validate(ValidationResultCollection) |
Indicates whether the MajorObject is valid. |
Validate(ValidationResultCollection, ValidationOptions, ServerEdition) |
Indicates whether the MajorObject is valid. |
Validate(ValidationResultCollection, ValidationOptions)
Indicates whether the MajorObject is valid.
public bool Validate (Microsoft.AnalysisServices.ValidationResultCollection results, Microsoft.AnalysisServices.ValidationOptions flags);
override this.Validate : Microsoft.AnalysisServices.ValidationResultCollection * Microsoft.AnalysisServices.ValidationOptions -> bool
Public Function Validate (results As ValidationResultCollection, flags As ValidationOptions) As Boolean
Parameters
- results
- ValidationResultCollection
A collection of validation results.
- flags
- ValidationOptions
A validation options.
Returns
true if the MajorObject is valid; otherwise, false.
Applies to
Validate(ValidationResultCollection)
Indicates whether the MajorObject is valid.
public bool Validate (Microsoft.AnalysisServices.ValidationResultCollection results);
override this.Validate : Microsoft.AnalysisServices.ValidationResultCollection -> bool
Public Function Validate (results As ValidationResultCollection) As Boolean
Parameters
- results
- ValidationResultCollection
A collection of validation results.
Returns
true if the MajorObject is valid; otherwise, false.
Applies to
Validate(ValidationResultCollection, ValidationOptions, ServerEdition)
Indicates whether the MajorObject is valid.
public bool Validate (Microsoft.AnalysisServices.ValidationResultCollection results, Microsoft.AnalysisServices.ValidationOptions flags, Microsoft.AnalysisServices.ServerEdition serverEdition);
override this.Validate : Microsoft.AnalysisServices.ValidationResultCollection * Microsoft.AnalysisServices.ValidationOptions * Microsoft.AnalysisServices.ServerEdition -> bool
Public Function Validate (results As ValidationResultCollection, flags As ValidationOptions, serverEdition As ServerEdition) As Boolean
Parameters
- results
- ValidationResultCollection
A collection of validation results.
- flags
- ValidationOptions
A validation options.
- serverEdition
- ServerEdition
The server edition.
Returns
true if the MajorObject is valid; otherwise, false.