Compartir a través de


DataRuleEngine.ExecuteRules (Método) (DataSchemaModel, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)

Espacio de nombres:  Microsoft.Data.Schema.StaticCodeAnalysis
Ensamblado:  Microsoft.Data.Schema (en Microsoft.Data.Schema.dll)

Sintaxis

'Declaración
Public Shared Function ExecuteRules ( _
    dataSchemaModel As DataSchemaModel, _
    rules As IEnumerable(Of DataRule), _
    <OutAttribute> ByRef errors As IEnumerable(Of DataSchemaError), _
    suppressProblem As Predicate(Of DataRuleProblemSuppressionContext) _
) As IEnumerable(Of DataRuleProblem)
public static IEnumerable<DataRuleProblem> ExecuteRules(
    DataSchemaModel dataSchemaModel,
    IEnumerable<DataRule> rules,
    out IEnumerable<DataSchemaError> errors,
    Predicate<DataRuleProblemSuppressionContext> suppressProblem
)
public:
static IEnumerable<DataRuleProblem^>^ ExecuteRules(
    DataSchemaModel^ dataSchemaModel, 
    IEnumerable<DataRule^>^ rules, 
    [OutAttribute] IEnumerable<DataSchemaError^>^% errors, 
    Predicate<DataRuleProblemSuppressionContext^>^ suppressProblem
)
static member ExecuteRules : 
        dataSchemaModel:DataSchemaModel * 
        rules:IEnumerable<DataRule> * 
        errors:IEnumerable<DataSchemaError> byref * 
        suppressProblem:Predicate<DataRuleProblemSuppressionContext> -> IEnumerable<DataRuleProblem> 
public static function ExecuteRules(
    dataSchemaModel : DataSchemaModel, 
    rules : IEnumerable<DataRule>, 
    errors : IEnumerable<DataSchemaError>, 
    suppressProblem : Predicate<DataRuleProblemSuppressionContext>
) : IEnumerable<DataRuleProblem>

Parámetros

Valor devuelto

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

Seguridad de .NET Framework

Vea también

Referencia

DataRuleEngine Clase

ExecuteRules (Sobrecarga)

Microsoft.Data.Schema.StaticCodeAnalysis (Espacio de nombres)