Determines if the server connection is valid.

Usage

Boolean = Get_Property(OLECtrlEntID, "OLE.ServerValid")

Values

[True | False]

Remarks

The ServerValid property is a read only property that can be used to determine if the SRP Schedule Control still has a valid connection to the SRP Schedule Server. If it does, this property will return 1. If not, it will return 0.

If the SRP Schedule Server was started after the Server property was set, then this will still return 0 since there was never a connection made.

Example

// See if we lost the connection 
If Get_Property(@Window:".OLE_SCHEDULE", "OLE.ServerValid") then 
   Msg(@Window, "Connection to the server was lost.") 
end

See Also

Server

  • No labels