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