SqlRuleAction SqlRuleAction 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
type SqlRuleAction = class
    inherit RuleAction
Public NotInheritable Class SqlRuleAction
Inherits RuleAction
Inheritance
SqlRuleActionSqlRuleActionSqlRuleAction
Attributes

Constructors

SqlRuleAction(String) SqlRuleAction(String) SqlRuleAction(String)

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

SqlRuleAction(String, Int32) SqlRuleAction(String, Int32) SqlRuleAction(String, Int32)

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

Properties

CompatibilityLevel CompatibilityLevel CompatibilityLevel

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

IExtensibleDataObject.ExtensionData IExtensibleDataObject.ExtensionData IExtensibleDataObject.ExtensionData Inherited from RuleAction
Parameters Parameters Parameters

Sets the value of a rule action.

RequiresPreprocessing RequiresPreprocessing RequiresPreprocessing

Gets a value indicating whether the SqlRuleAction requires preprocessing.

SqlExpression SqlExpression SqlExpression

Gets the SQL expression.

Methods

Execute(BrokeredMessage) Execute(BrokeredMessage) Execute(BrokeredMessage)

Executes the SqlRuleAction object.

Preprocess() Preprocess() Preprocess()

Gets the pre-processed RuleAction expression.

ToString() ToString() ToString()

Returns a string representation of SqlRuleAction.

Validate() Validate() Validate()

Validates the SQL expression against the SQL 92 syntax and rules.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to