Поделиться через


DataRule.Analyze Method

Analyzes a model element and returns any problems that were detected in the element.

Namespace:  Microsoft.Data.Schema.StaticCodeAnalysis
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public MustOverride Function Analyze ( _
    ruleSetting As DataRuleSetting, _
    context As DataRuleExecutionContext _
) As IList(Of DataRuleProblem)
public abstract IList<DataRuleProblem> Analyze(
    DataRuleSetting ruleSetting,
    DataRuleExecutionContext context
)
public:
virtual IList<DataRuleProblem^>^ Analyze(
    DataRuleSetting^ ruleSetting, 
    DataRuleExecutionContext^ context
) abstract
abstract Analyze : 
        ruleSetting:DataRuleSetting * 
        context:DataRuleExecutionContext -> IList<DataRuleProblem> 
public abstract function Analyze(
    ruleSetting : DataRuleSetting, 
    context : DataRuleExecutionContext
) : IList<DataRuleProblem>

Parameters

Return Value

Type: System.Collections.Generic.IList<DataRuleProblem>
An IList<T> object that contains DataSchemaError objects that represent any exceptions or errors that were encountered when the model element was analyzed.

.NET Framework Security

See Also

Reference

DataRule Class

Microsoft.Data.Schema.StaticCodeAnalysis Namespace

DataRuleSetting

DataRuleExecutionContext