SqlFilter SqlFilter 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
type SqlFilter = class
    inherit Filter
Public Class SqlFilter
Inherits Filter
Inheritance
SqlFilterSqlFilterSqlFilter
Derived
Attributes

Constructors

SqlFilter(String) SqlFilter(String) SqlFilter(String)

Initializes a new instance of the SqlFilter class using the specified SQL expression.

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 Filter
Parameters Parameters Parameters

Sets the value of a filter expression.

RequiresPreprocessing RequiresPreprocessing RequiresPreprocessing

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

SqlExpression SqlExpression SqlExpression

Gets the SQL expression.

Methods

Match(BrokeredMessage) Match(BrokeredMessage) Match(BrokeredMessage)

Specifies whether a message matches against the current SQL expression.

Preprocess() Preprocess() Preprocess()

Gets the preprocessed filter expression.

ToString() ToString() ToString()

Returns a string representation of SqlFilter.

Validate() Validate() Validate()

Validates the SQL expression.

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