AttributeRelationship.Validate Method (ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether the AttributeRelationship is properly configured.

命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

语法

声明
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

参数

  • 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.

返回值

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

备注

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

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

AttributeRelationship Class
AttributeRelationship Members
Microsoft.AnalysisServices Namespace