OpenSession |
Top Previous Next |
Returns an OhioSession object based on the search parameters provided.
Visual Basic Syntax
[TTnbOhioSession =] Manager.OpenSession(ConfigurationResource As Integer, SessionName As String)
[TTnbOhioSession =] Manager.OpenSession(ConfigurationResource As TTnbComApi, SessionName As String)
[TTnbOhioSession =] Manager.OpenSession(ConfigurationResource As String, SessionName As String)
Delphi Syntax
[TTnbOhioSession :=] Manager.OpenSession(ConfigurationResource:integer; SessionName:string);
[TTnbOhioSession :=] Manager.OpenSession(ConfigurationResource:TTnbComApi; SessionName:string);
[TTnbOhioSession :=] Manager.OpenSession(ConfigurationResource, SessionName:string);
Parameters
The parameters are used as follows:
Is ConfigurationResource provided? Yes - Is SessionName provided? Yes - Is OhioSession object with matching SessionName available on the system? Yes - Error, attempting to create an OhioSession object with a non-unique SessionName. No - Create an OhioSession object using SessionName and ConfigurationResource. No - Start a new OhioSession using ConfigurationResource and generating a new SessionName. No - Is SessionName provided? Yes - Is OhioSession object with matching SessionName available on the system? Yes - Return identified OhioSession object. No - Return null. No - Return null. |