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

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

Sintaxe

'Declaração
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>

Parâmetros

Valor de retorno

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

Segurança do .NET Framework

Consulte também

Referência

DataRuleEngine Classe

Sobrecargas ExecuteRules

Namespace Microsoft.Data.Schema.StaticCodeAnalysis