ADO » DataSpace » InternetTimeout

Syntax:
long = dataspaceobject.InternetTimeout
dataspaceobject.InternetTimeout = long

Sets or returns a long value that is the number of milliseconds to wait before a request is timed out because there is no activity.

The InternetTimeout property sets or returns a long value that is the number of milliseconds to wait before a request to create a proxy object is timed out.

The default is 5 minutes which is 300000 milliseconds:
(5 minutes)x(60 seconds per minute) x(1000 milliseconds per second).

Since such requests can only be sent using either the HTTP or HTTPS protocol and may on occasion take longer than 5 minutes, you can specify additional time to prevent a time out. If a time out does occur, an error message will be generated.

Examples

Code:
objDataSpace.InternetTimeout = 600000

See Also: