Creates a new instance of a ILiveViewConnection from a TCDS-based connection url.
Also see FromTcdsAuthUri(LiveViewURI, ILiveViewAuth)
Namespace: StreamBase.LiveView.APIAssembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 11.2.0.0 (11.2.1.1)
Syntax
| C# | Visual Basic | Visual C++ |
public static ILiveViewConnection GetConnectionFromTcds( ConnectionConfig cfg )
Public Shared Function GetConnectionFromTcds ( _ cfg As ConnectionConfig _ ) As ILiveViewConnection
public: static ILiveViewConnection^ GetConnectionFromTcds( ConnectionConfig^ cfg )
Parameters
- cfg
- ConnectionConfig
The configuration parameters to which to connect.
Return Value
The new connection.
Exceptions
| Exception | Condition |
|---|---|
| StreamBase.LiveView.API..::..LiveViewException | If the connection could not be created or a network connection error occurred. |