DataRuleEngine.ExecuteRules Method (DataSchemaModel, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%)
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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>
Parameters
- dataSchemaModel
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
- rules
Type: System.Collections.Generic.IEnumerable<DataRule>
- errors
Type: System.Collections.Generic.IEnumerable<DataSchemaError>%
Return Value
Type: System.Collections.Generic.IEnumerable<DataRuleProblem>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.