HostIntegratorSession.ConnectToSession Method (String, String, IDictionary)

WRQ.Verastream.HostIntegrator

WRQ Verastream Host Integrator .Net Reference

HostIntegratorSession.ConnectToSession Method (String, String, IDictionary)

Establishes a connection to a Host Integrator server and creates or allocates a host session with the specified session pool. This version of ConnectToSession provides a set of model variables, to set upon connection.

[Visual Basic]Overloads Public Sub ConnectToSession( _
   ByVal server As String, _
   ByVal sessionPool As String, _
   ByVal modelVariables As IDictionary _
)
[C#]
public void ConnectToSession(
   string server,
   string sessionPool,
   IDictionary modelVariables
);

Parameters

server
Specifies the name of the Host Integrator server. This value can be a DNS name or an IP address.
sessionPool
Specifies a Host Integrator session pool.
modelVariables
Specifies model variables to set on connection.

Remarks

Reasons for failure include:

  • Host Integrator server is not running.
  • Invalid server name or IP address.
  • Invalid session name.
  • Session is already connected to a Host Integrator server.

See Also

HostIntegratorSession Class | HostIntegratorSession Members | WRQ.Verastream.HostIntegrator Namespace | HostIntegratorSession.ConnectToSession Overload List