LoadConnectorProp method: IBInfo class
Syntax
LoadConnectorProp(ConnectorName)
Description
Use the LoadConnectorProp method to load connector properties to the specified connector. The properties are contained in the message executing the method.
Note:
Use this method in the message OnSend event.
Parameters
| Parameter | Description |
|---|---|
|
ConnectorName |
Specify the name of the connector that you want to load properties for from the message. |
Returns
A Boolean value: true if properties are loaded successfully, false otherwise.
Example
LOCAL MESSAGE &MSG;
&MSG = %IntBroker.GetMessage();
&Rowset = &MSG.GetRowset();
&MSG.IBInfo.LoadConnectorProp("HTTP TargetConnector");
/* add connector properties */
&MSG.IBInfo.ConnectorOverride= true;
ReturnToServer(&MSG);