Método DataRuleEngine.ExecuteRules (IModelElement, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%)

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

Sintaxe

'Declaração
Public Shared Function ExecuteRules ( _
    modelElement As IModelElement, _
    ruleSettings As IEnumerable(Of DataRuleSetting), _
    <OutAttribute> ByRef errors As IEnumerable(Of DataSchemaError) _
) As IList(Of DataRuleProblem)
public static IList<DataRuleProblem> ExecuteRules(
    IModelElement modelElement,
    IEnumerable<DataRuleSetting> ruleSettings,
    out IEnumerable<DataSchemaError> errors
)
public:
static IList<DataRuleProblem^>^ ExecuteRules(
    IModelElement^ modelElement, 
    IEnumerable<DataRuleSetting^>^ ruleSettings, 
    [OutAttribute] IEnumerable<DataSchemaError^>^% errors
)
static member ExecuteRules : 
        modelElement:IModelElement * 
        ruleSettings:IEnumerable<DataRuleSetting> * 
        errors:IEnumerable<DataSchemaError> byref -> IList<DataRuleProblem> 
public static function ExecuteRules(
    modelElement : IModelElement, 
    ruleSettings : IEnumerable<DataRuleSetting>, 
    errors : IEnumerable<DataSchemaError>
) : IList<DataRuleProblem>

Parâmetros

Valor de retorno

Tipo: System.Collections.Generic.IList<DataRuleProblem>

Segurança do .NET Framework

Consulte também

Referência

DataRuleEngine Classe

Sobrecargas ExecuteRules

Namespace Microsoft.Data.Schema.StaticCodeAnalysis