Partager via


DataRuleEngine.ExecuteRules, méthode (IEnumerable<IModelElement>, IEnumerable<DataRuleSetting>, 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 ( _
    modelElements As IEnumerable(Of IModelElement), _
    ruleSettings As IEnumerable(Of DataRuleSetting), _
    <OutAttribute> ByRef errors As IEnumerable(Of DataSchemaError) _
) As IEnumerable(Of DataRuleProblem)
public static IEnumerable<DataRuleProblem> ExecuteRules(
    IEnumerable<IModelElement> modelElements,
    IEnumerable<DataRuleSetting> ruleSettings,
    out IEnumerable<DataSchemaError> errors
)
public:
static IEnumerable<DataRuleProblem^>^ ExecuteRules(
    IEnumerable<IModelElement^>^ modelElements, 
    IEnumerable<DataRuleSetting^>^ ruleSettings, 
    [OutAttribute] IEnumerable<DataSchemaError^>^% errors
)
static member ExecuteRules : 
        modelElements:IEnumerable<IModelElement> * 
        ruleSettings:IEnumerable<DataRuleSetting> * 
        errors:IEnumerable<DataSchemaError> byref -> IEnumerable<DataRuleProblem> 
public static function ExecuteRules(
    modelElements : IEnumerable<IModelElement>, 
    ruleSettings : IEnumerable<DataRuleSetting>, 
    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