DTS Programming
StringCompareValue Property
The StringCompareValue property sets or returns the string to be compared with a received string message.
Applies To
DTSMessageQueueTask Object |
Syntax
object.StringCompareValue [= string]
Part | Description |
---|---|
object | Expression that evaluates to a DTSMessageQueueTask object |
string | String to be compared with a received string message |
Data Type
String
Modifiable
Read/write
Prototype (C/C++)
HRESULT StringCompareValue(BSTR* pVal);
HRESULT StringCompareValue(BSTR pVal);
Remarks
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]