SALES: 1-800-867-1380

SqlRuleAction Class

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


Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

<DataContractAttribute(Name := "SqlRuleAction", Namespace := "")> _
Public NotInheritable Class SqlRuleAction _
	Inherits RuleAction
Dim instance As SqlRuleAction

The SqlRuleAction type exposes the following members.

Public methodSqlRuleAction(String)Initializes a new instance of the SqlRuleAction class with the specified SQL expression.
Public methodSqlRuleAction(String, Int32)Initializes a new instance of the SqlRuleAction class with the specified SQL expression and compatibility level.

Public propertyCompatibilityLevelThis property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
Public propertyParametersSets the value of a rule action.
Public propertyRequiresPreprocessingGets a value indicating whether the SqlRuleAction requires preprocessing. (Overrides RuleAction.RequiresPreprocessing.)
Public propertySqlExpressionGets the SQL expression.

Public methodEquals (Inherited from Object.)
Public methodExecuteExecutes the SqlRuleAction object. (Overrides RuleAction.Execute(BrokeredMessage).)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodPreprocessGets the pre-processed RuleAction expression. (Overrides RuleAction.Preprocess.)
Public methodToStringReturns a string representation of SqlRuleAction. (Overrides Object.ToString.)
Public methodValidateValidates the SQL expression against the SQL 92 syntax and rules. (Overrides RuleAction.Validate.)

Explicit interface implemetationPrivate propertyIExtensibleDataObject.ExtensionDataGets or sets the object that contains extra data. (Inherited from RuleAction.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft