IsConnected Property  
 

Determine if the application is connected to the storage server.

Syntax

object.IsConnected

Remarks

The IsConnected property is used to determine if the application is connected to the storage server. This property will return False if the Open method has not been called to open a storage container, or if the connection to the server has been terminated. A value of True indicates that the storage container has been opened and there is a valid connection to the server.

The client does not maintain a continuous, persistent connection with the storage server. The connection may be closed and reopened internally as needed. If the client session has been idle for a period of time, this property can return False. If the LastError property returns stErrorNotConnected it means the client session is valid, however it not currently connected to the storage server. The next call to store or retrieve an object will the cause the client to reconnect automatically.

Data Type

Boolean

See Also

LastError Property, Close Method, Open Method