The ITPDS.Job class has the following properties:
Property |
Type |
OLE type |
Description |
Default |
Host |
String |
BSTR |
A string that contains the name of the server running ITP/Server. The name can be specified either in (IPv4) Internet Protocol dotted address notation (a.b.c.d) or as a resolvable host name. |
127.0.0.1 |
Port |
String |
BSTR |
A string that contains the port to connect to. The port can be specified either in numerical format or as a resolvable port name (TCP/IP service name). |
- |
JobID |
String |
BSTR |
A string that contains the Job Identifier for this job. |
- |
LastError |
String |
BSTR |
The last error message generated. Same as the error's Description. |
|
ReceiveFile |
Boolean |
VARIANT_BOOL |
Allow the client to receive files from the ITP/Server server. |
False |
SendFile |
Boolean |
VARIANT_BOOL |
Allow the client to send files to the ITP/Server server. |
False |
ExchangeData |
Boolean |
VARIANT_BOOL |
Allow the client to receive data with the exchange_data function. |
False |
ConfirmCompletion |
Boolean |
VARIANT_BOOL |
Requires ITP/Server to wait for confirmation after completing a job. |
False |
Port and JobID are required. If not specified or empty, an error will be generated. The Host property cannot be empty.