SqlRuleExecutionContext Class

SQL Server 2014
 

Updated: April 20, 2017

Defines the fields necessary for analysis, including the schema model and model element to analyze.

Namespace:   Microsoft.SqlServer.Dac.CodeAnalysis
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

System::Object
  Microsoft.SqlServer.Dac.CodeAnalysis::SqlRuleExecutionContext

public ref class SqlRuleExecutionContext sealed 

NameDescription
System_CAPS_pubpropertyModelElement

The TSqlObject being analyzed.

System_CAPS_pubpropertyRuleDescriptor

Describes the rule being executed, and can be used to access the

System_CAPS_pubpropertySchemaModel

The TSqlModel being analyzed.

System_CAPS_pubpropertyScriptFragment

Gets the script fragment which defines the element being analyzed, if this is available. May be null. Tries to get the most suitable TSqlFragment for use during the rule analysis process. If the TSqlObject was originally built from a scripted source then the original source fragment will be returned. Otherwise a new AST will be generated from the ModelElement />. This ensures that when reporting SqlRuleProblems the most accurate source information can be included in the error messages.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: