Gets or sets a boolean value that indicates whether the DataListener will connect to the Server
for receiving the time-series data or the Server will make a connection to the DataListener on
the specified Port for sending time-series data.

C# | Visual Basic | Visual C++ |
[DefaultValueAttribute(true)] public bool ConnectToServer { get; set; }
<DefaultValueAttribute(True)> _ Public Property ConnectToServer As Boolean
[DefaultValueAttribute(true)] public: property bool ConnectToServer { bool get (); void set (bool value); }