StringCompareType Property

DTS Programming

DTS Programming

StringCompareType Property

The StringCompareType property sets or returns the type of comparison to be performed on a received string message.

Applies To
DTSMessageQueueTask Object
Syntax

object.StringCompareType [= value]

Part Description
object Expression that evaluates to a DTSMessageQueueTask object
value Code that defines the string comparison type

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT StringCompareType(long* pVal);

HRESULT StringCompareType(long pVal);

Remarks

The comparison is performed between the received message and the value of the StringCompareValue property.

The valid values for this property are defined by the DTSMQStringMessageCompare constants.

The property also can be referenced through the Properties collection of the Task object with the following code:

Set taskprops = task.Properties
taskprops("StringCompareType") [= value]

See Also

DTSMQStringMessageCompare

StringCompareValue Property