DataRuleEngine.ExecuteRules Method (IModelElement, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%)
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Shared Function ExecuteRules ( _
modelElement As IModelElement, _
rules As IEnumerable(Of DataRule), _
<OutAttribute> ByRef errors As IEnumerable(Of DataSchemaError) _
) As IEnumerable(Of DataRuleProblem)
public static IEnumerable<DataRuleProblem> ExecuteRules(
IModelElement modelElement,
IEnumerable<DataRule> rules,
out IEnumerable<DataSchemaError> errors
)
public:
static IEnumerable<DataRuleProblem^>^ ExecuteRules(
IModelElement^ modelElement,
IEnumerable<DataRule^>^ rules,
[OutAttribute] IEnumerable<DataSchemaError^>^% errors
)
static member ExecuteRules :
modelElement:IModelElement *
rules:IEnumerable<DataRule> *
errors:IEnumerable<DataSchemaError> byref -> IEnumerable<DataRuleProblem>
public static function ExecuteRules(
modelElement : IModelElement,
rules : IEnumerable<DataRule>,
errors : IEnumerable<DataSchemaError>
) : IEnumerable<DataRuleProblem>
Parameters
- modelElement
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
- 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.