แชร์ผ่าน


AttributeRelationship.Validate Method (ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether the AttributeRelationship is properly configured.

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

Syntax

'Declaration
Public Overrides Function Validate ( _
    errors As ValidationErrorCollection, _
    includeDetailedErrors As Boolean, _
    serverEdition As ServerEdition _
) As Boolean
public override bool Validate (
    ValidationErrorCollection errors,
    bool includeDetailedErrors,
    ServerEdition serverEdition
)
public:
virtual bool Validate (
    ValidationErrorCollection^ errors, 
    bool includeDetailedErrors, 
    ServerEdition serverEdition
) override
public boolean Validate (
    ValidationErrorCollection errors, 
    boolean includeDetailedErrors, 
    ServerEdition serverEdition
)
public override function Validate (
    errors : ValidationErrorCollection, 
    includeDetailedErrors : boolean, 
    serverEdition : ServerEdition
) : boolean

Parameters

  • errors
    A collection of validation errors to be returned.
  • includeDetailedErrors
    A value of true will include detailed information about the errors; otherwise standard description will be included.
  • serverEdition
    An enumeration value with the server edition where the current object is running on.

Return Value

true if no errors were found; otherwise, errors were found.

Remarks

Server edition values can be: Developer, Developer64, Enterprise, Enterprise64, Evaluation, Evaluation64, LocalCube, LocalCube64, Standard, Standard64.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AttributeRelationship Class
AttributeRelationship Members
Microsoft.AnalysisServices Namespace