Share via


MQStringMessageCompare Enumeration

Contains values that control the method of comparison that is used by the Message Queue task when the Message Queue task is receiving a message. To receive a message, the TaskType must be set to DTSMQType_Receiver, and the message type must be set to DTSMQMessageType_String.

Namespace:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly:  Microsoft.SqlServer.MSMQTask (in Microsoft.SqlServer.MSMQTask.dll)

Syntax

'Declaration
Public Enumeration MQStringMessageCompare
'Usage
Dim instance As MQStringMessageCompare
public enum MQStringMessageCompare
public enum class MQStringMessageCompare
type MQStringMessageCompare
public enum MQStringMessageCompare

Members

Member name Description
DTSMQStringMessageCompare_Contains Specifies that the message content must contain the string in the StringCompareValue.
DTSMQStringMessageCompare_Exact Specifies that the message content must exactly match the string in the StringCompareValue.
DTSMQStringMessageCompare_IgnoreCase Specifies whether the comparison distinguishes between uppercase and lowercase letters. When this enumeration value is used, the string comparison ignores case. For example, "ABC" is identical to "abc".
DTSMQStringMessageCompare_None Specifies that no comparison is done.

See Also

Reference

Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace