TimeoutPeriod property
The
TimeoutPeriod
property returns or sets the maximum time period that the FactoryTalk Batch
Server client application should allow for responding to a data request. The TimeoutPeriod
property applies to the BatchServer
and BatchRemote
objects.Syntax | object.TimeoutPeriod [= value] | |
The TimeoutPeriod property syntax has these parts: | ||
Part | Description | |
object | Object expression that evaluates to a BatchServer or BatchRemote object. | |
value | Integer specifying the maximum time period that the FactoryTalk Batch Server should attempt to service a data request before giving up. The default is 5000 . | |
Remarks | The value is in milliseconds. |
This code example is
Visual Basic
6 syntax.
TIP:
Dimension a
FactoryTalk Batch
Server object:Dim svr As New BatchControl.BatchServer
Set the timeout period:
svr.TimeoutPeriod = 1000
Provide Feedback