SetConnectionProperties

Use this method to specify the used job and the instance name.

Syntax

SetConnectionProperties(SelectedJobName as String, InstanceName as String, CreateJobIfNotExist as Boolean)

Parameters

Parameter Description
SelectedJobName Job name from the JOBS table.
InstanceName RTS instance used to connect.
CreateJobIfNotExist True: Create the job if not present.

False: Use an existing job only.

Sample code

Dim pBatchRoot as New SCBCdrBATCHLib.SCBCdrBatchRoot
…
theBatchRoot.SetConnectionProperties "My DB Job", "MyRTS", False