Partager via


DataRuleEngine.ExecuteRules, méthode (DataSchemaModel, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%)

Espace de noms :  Microsoft.Data.Schema.StaticCodeAnalysis
Assembly :  Microsoft.Data.Schema (dans Microsoft.Data.Schema.dll)

Syntaxe

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

Paramètres

Valeur de retour

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

Sécurité .NET Framework

Voir aussi

Référence

DataRuleEngine Classe

ExecuteRules, surcharge

Microsoft.Data.Schema.StaticCodeAnalysis, espace de noms