SqlFilter Class

Definition

Represents a filter, which is a combination of an expression and an action that is executed in the publish/subscribe pipeline. For information about the SQLFilter syntax, see SQLFilter syntax.

[System.Runtime.Serialization.DataContract(Name="SqlFilter", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.TrueFilter))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.FalseFilter))]
[System.Runtime.Serialization.KnownType(typeof(System.DateTimeOffset))]
public class SqlFilter : Microsoft.ServiceBus.Messaging.Filter
Inheritance
SqlFilter
Derived
Attributes
System.Runtime.Serialization.DataContract System.Runtime.Serialization.KnownType System.Runtime.Serialization.KnownType System.Runtime.Serialization.KnownType

Inherited Members

Constructors

SqlFilter(String)

Initializes a new instance of the SqlFilter class using 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 filter expression.

RequiresPreprocessing

Gets a value indicating whether the SQL filter expression requires preprocessing.

SqlExpression

Gets the SQL expression.

Methods

Match(BrokeredMessage)

Specifies whether a message matches against the current SQL expression.

Preprocess()

Gets the preprocessed filter expression.

ToString()

Returns a string representation of SqlFilter.

Validate()

Validates the SQL expression.