ConnectionType - property of object tvTrend
Connection type to trends server.
ConnectionType As Long
oTrend.ConnectionType = n
0 - trend object is not connected to any data source
1 - local connection to the trends server that runs in the same application as the viewer
2 - connection to the remote trends server by the WEB services. The data are sent in the XML format.
Property access for read and write
. The property is used either for reading or on its setting it can be used for the consecutive calling the Connect
method (only when the nType
parameter of this method equals 0)
If the tvTrend
object has already been connected to any data source (server) before writing into this property, by writing into this property the change of the connection doesn't happen (only the configuration of the object changes). For the real change it is necessary to call the Connect