HostIntegratorSession.ConnectToModel Method (String, String, String, String)

WRQ.Verastream.HostIntegrator

WRQ Verastream Host Integrator .Net Reference

HostIntegratorSession.ConnectToModel Method (String, String, String, String)

Establishes a connection to a Host Integrator server and creates a host session with the specified model. This version of ConnectToModel presents a user ID and a password, to establish authorization on the Host Integrator server.

[Visual Basic]Overloads Public Sub ConnectToModel( _
   ByVal server As String, _
   ByVal modelName As String, _
   ByVal userID As String, _
   ByVal password As String _
)
[C#]
public void ConnectToModel(
   string server,
   string modelName,
   string userID,
   string password
);

Parameters

server
Specifies the name of the Host Integrator server. This value can be a DNS name or an IP address.
modelName
Specifies the name of a Host Integrator model.
userID
Specifies a user ID to present to the Host Integrator server.
password
Specifies a password to present to the Host Integrator server.

Remarks

Reasons for failure include:

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

See Also

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