Class SqlRuleAction
- Namespace
- Microsoft.Azure.ServiceBus
- Assembly
- Microsoft.Azure.ServiceBus.dll
Represents set of actions written in SQL language-based syntax that is performed against a Message.
public sealed class SqlRuleAction : RuleAction
- Inheritance
-
SqlRuleAction
- Inherited Members
Constructors
SqlRuleAction(string)
Initializes a new instance of the SqlRuleAction class with the specified SQL expression.
public SqlRuleAction(string sqlExpression)
Parameters
sqlExpression
stringThe SQL expression.
Remarks
Max allowed length of sql expression is 1024 chars.
Properties
Parameters
Sets the value of a rule action.
public IDictionary<string, object> Parameters { get; }
Property Value
- IDictionary<string, object>
The value of a rule action.
SqlExpression
Gets the SQL expression.
public string SqlExpression { get; }
Property Value
- string
The SQL expression.
Remarks
Max allowed length of sql expression is 1024 chars.
Methods
ToString()
Returns a string representation of SqlRuleAction.
public override string ToString()
Returns
- string
The string representation of SqlRuleAction.