Establishes a connection to a Host Integrator server and creates a host session with the specified model. The connection is made using the specified AADS server and Host Integrator domain. This version of ConnectToModelViaDomain presents a user ID and a password, to establish authorization on the Host Integrator server, and also provides a set of model variables, to set upon connection.
[Visual Basic]Overloads Public Sub ConnectToModelViaDomain( _
ByVal directoryServer As String, _
ByVal domainName As String, _
ByVal modelName As String, _
ByVal userID As String, _
ByVal password As String, _
ByVal modelVariables As IDictionary _
)
[C#]
public void ConnectToModelViaDomain(
string directoryServer,
string domainName,
string modelName,
string userID,
string password,
IDictionary modelVariables
);
public void ConnectToModelViaDomain(
string directoryServer,
string domainName,
string modelName,
string userID,
string password,
IDictionary modelVariables
);
Parameters
- directoryServer
- Specifies a Host Integrator authentication and authorization directory server (AADS).
- domainName
- Specifies a Host Integrator domain.
- 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.
- modelVariables
- Specifies model variables to set on connection.
Remarks
Reasons for failure include:
- Failure to locate Host Integrator domain server.
- 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.ConnectToModelViaDomain Overload List