Sql​Rule​Action 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
SqlRuleAction
Attributes
System.Runtime.Serialization.DataContract

Inherited Members

Microsoft.ServiceBus.Messaging.RuleAction

Constructors

Sql​Rule​Action(​String)

Initializes a new instance of the SqlRuleAction class with the specified SQL expression.

Sql​Rule​Action(​String, ​Int32)

Initializes a new instance of the SqlRuleAction class with the specified SQL expression and compatibility level.

Properties

Compatibility​Level

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.

Requires​Preprocessing

Gets a value indicating whether the SqlRuleAction requires preprocessing.

Sql​Expression

Gets the SQL expression.

Methods

Execute(​Brokered​Message)

Executes the SqlRuleAction object.

Preprocess()

Gets the pre-processed RuleAction expression.

To​String()

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)