SqlRuleAction
Class
Definition
Represents a set of actions written in SQL language-based syntax that is performed against a BrokeredMessage. For information about SQLRuleAction syntax, see SQLRuleAction syntax.
[System.Runtime.Serialization.DataContract(Name="SqlRuleAction", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class SqlRuleAction : Microsoft.ServiceBus.Messaging.RuleAction
- Inheritance
- Attributes
Inherited Members
Microsoft.ServiceBus.Messaging.RuleAction
Constructors
| SqlRuleAction(String) |
Initializes a new instance of the SqlRuleAction class with the specified SQL expression. |
| SqlRuleAction(String, Int32) |
Initializes a new instance of the SqlRuleAction class with the specified SQL expression and compatibility level. |
Properties
| CompatibilityLevel |
This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20. |
| Parameters |
Sets the value of a rule action. |
| RequiresPreprocessing |
Gets a value indicating whether the SqlRuleAction requires preprocessing. |
| SqlExpression |
Gets the SQL expression. |
Methods
| Execute(BrokeredMessage) |
Executes the SqlRuleAction object. |
| Preprocess() |
Gets the pre-processed RuleAction expression. |
| ToString() |
Returns a string representation of SqlRuleAction. |
| Validate() |
Validates the SQL expression against the SQL 92 syntax and rules. |
Extension Methods
| IsDefined(Object) | |
| IsNull(Object) | |
| IsPrimitive(Object) |