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

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

Sintaxe

'Declaração
Public Shared Function ExecuteRules ( _
    dataSchemaModel As DataSchemaModel, _
    ruleSettings As IEnumerable(Of DataRuleSetting), _
    <OutAttribute> ByRef errors As IEnumerable(Of DataSchemaError), _
    suppressProblem As Predicate(Of DataRuleProblemSuppressionContext), _
    executeCanceled As Func(Of Boolean) _
) As IList(Of DataRuleProblem)
public static IList<DataRuleProblem> ExecuteRules(
    DataSchemaModel dataSchemaModel,
    IEnumerable<DataRuleSetting> ruleSettings,
    out IEnumerable<DataSchemaError> errors,
    Predicate<DataRuleProblemSuppressionContext> suppressProblem,
    Func<bool> executeCanceled
)
public:
static IList<DataRuleProblem^>^ ExecuteRules(
    DataSchemaModel^ dataSchemaModel, 
    IEnumerable<DataRuleSetting^>^ ruleSettings, 
    [OutAttribute] IEnumerable<DataSchemaError^>^% errors, 
    Predicate<DataRuleProblemSuppressionContext^>^ suppressProblem, 
    Func<bool>^ executeCanceled
)
static member ExecuteRules : 
        dataSchemaModel:DataSchemaModel * 
        ruleSettings:IEnumerable<DataRuleSetting> * 
        errors:IEnumerable<DataSchemaError> byref * 
        suppressProblem:Predicate<DataRuleProblemSuppressionContext> * 
        executeCanceled:Func<bool> -> IList<DataRuleProblem> 
public static function ExecuteRules(
    dataSchemaModel : DataSchemaModel, 
    ruleSettings : IEnumerable<DataRuleSetting>, 
    errors : IEnumerable<DataSchemaError>, 
    suppressProblem : Predicate<DataRuleProblemSuppressionContext>, 
    executeCanceled : Func<boolean>
) : 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