Share via


SqlRuleAction Class

Definition

Represents set of actions written in SQL language-based syntax that is performed against a BrokeredMessage.

[System.Runtime.Serialization.DataContract(Name="SqlRuleAction", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class SqlRuleAction : Microsoft.ServiceBus.Messaging.RuleAction
[<System.Runtime.Serialization.DataContract(Name="SqlRuleAction", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type SqlRuleAction = class
    inherit RuleAction
Public NotInheritable Class SqlRuleAction
Inherits RuleAction
Inheritance
SqlRuleAction
Attributes

Constructors

SqlRuleAction(String, Int32)

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

SqlRuleAction(String)

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

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.

Explicit Interface Implementations

IExtensibleDataObject.ExtensionData (Inherited from RuleAction)

Applies to