The StringCompareType property sets or returns the type of comparison to be performed on a received string message.
object.StringCompareType [= value]
Part | Description |
---|---|
object | Expression that evaluates to a DTSMessageQueueTask object |
value | Code that defines the string comparison type |
Long
Read/write
HRESULT StringCompareType(long* pVal);
HRESULT StringCompareType(long pVal);
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]