AddConnectorProperties method: ConnectorInfo collection

Syntax

AddConnectorProperties(Name, Value, Type)

Description

Use the AddConnectorProperties method to add a set of connector properties to a connector.

Parameters

Parameter Description

Name

Specify the name of the property as a string.

Value

Specify the value of the property as a string.

Type

Specify the type of the property as a string. The valid values are:

Constant Value Description

%Property

Add a property type property.

%Header

Add a header type property.

Returns

A Boolean value: true if the connector properties are added successfully, false otherwise.

Example

The following are examples of typical name/value pairs.

&b1 = &MSG.IBInfo.IBConnectorInfo.AddConnectorProperties("URL", "http:⇒
//finance.yahoo.com/d/quotes.txt/?symbols=PSFT&format=l1c1d1t1", %Property); 

&b2 = &MSG.IBInfo.IBConnectorInfo.AddConnectorProperties("sendUncompressed", ⇒
"Y", %Header); 

&b3 = &MSG.IBInfo.IBConnectorInfo.AddConnectorProperties("FilePath", ⇒
"C:\Temp", %Property);

The following example demonstrates setting a passive connection for the FTP target connector:

&b4 = &MSG.IBInfo.IBConnectorInfo.AddConnectorProperties ("FTPMODE", ⇒
"PASSIVE", %Property);