ConnectTimeout Property (CollectiveMember Object)

                

 

This read-write property is a long which specifies the period in seconds that a connection call to a server should wait before determining the server is not available. The ConnectTimeout is persisted in the Known Servers Table. If no ConnectTimeout has been set for the collective member, the timeout value is taken from the PISDK.ConnectTimeout property also stored in the Known Servers Table. If no ConnectTimeout has been set for the PISDK object then a default value of 10 seconds is used. Once a connection is made, this property is no longer used. Instead the CollectiveMember.Timeout property is used for method calls.

To remove the storage of the ConnectTimeout property for a collective member and revert to the default behavior, set the CollectiveMember.ConnectTimeout property to 0.

Syntax

object.ConnectTimeout

The object placeholder is an object expression that evaluates to a CollectiveMember object.

Remarks

The ConnectTimeout property is configured on each workstation.  In a normal network and with ordinary server calls the default setting is appropriate.  In situations where network latency is high, or calls which require extensive server processing are made, the number can be increased.  As the property affects communications to particular server locations, different members of a collective may use different settings.

Enabling Operational Intelligence