Gets or sets the TransportProtocol to be used for receiving time-series data from the Server.

C# | Visual Basic | Visual C++ |
[DefaultValueAttribute(TransportProtocol.Udp)] public TransportProtocol Protocol { get; set; }
<DefaultValueAttribute(TransportProtocol.Udp)> _ Public Property Protocol As TransportProtocol
[DefaultValueAttribute(TransportProtocol::Udp)] public: property TransportProtocol Protocol { TransportProtocol get (); void set (TransportProtocol value); }

Exception | Condition |
---|---|
ArgumentException | The value being assigned is not Tcp or Udp. |