AddSession

Top  Previous  Next

Adds a session to the Sessions collection based on the specified configuration file.

 

Visual Basic Syntax

 

[TTnbOhioSession =] Sessions.AddSession(ConfigurationResource As String, SessionName As String)

 

[TTnbOhioSession =] Sessions.AddSession(ConfigurationResource As Integer, SessionName As String)

 

[TTnbOhioSession =] Sessions.AddSession(ConfigurationResource As TTnbComApi, SessionName As String)

 

Delphi Syntax

 

[TTnbOhioSession :=] Sessions.AddSession(ConfigurationResource, SessionName:string);

 

[TTnbOhioSession :=] Sessions.AddSession(ConfigurationResource:integer; SessionName:string);

 

[TTnbOhioSession :=] Sessions.AddSession(ConfigurationResource:TTnbComApi; SessionName:string);

 

 

Parameters

 

Parameters

Description

ConfigurationResource

Full path of the Configuration File (.ZCC) to use for host connection information. This parameter can be a string, an integer or a TTnbComApi type.

SessionName

Session's name.