The StringCompareValue property sets or returns the string to be compared with a received string message.
object.StringCompareValue [= string]
Part | Description |
---|---|
object | Expression that evaluates to a DTSMessageQueueTask object |
string | String to be compared with a received string message |
String
Read/write
HRESULT StringCompareValue(BSTR* pVal);
HRESULT StringCompareValue(BSTR pVal);
The type of comparison is specified by the StringCompareType property. The StringCompareValue property must be defined unless the comparison type is None.
The property also can be referenced through the Properties collection of the Task object with the following code:
Set taskprops = task.Properties
taskprops("StringCompareValue") [= string]