OpenSession |
Top Previous Next |
Returns an Session object based on the search parameters provided.
VB.NET
[Session =] OhioManager.OpenSession(ConfigurationResource As Integer, SessionName As String)
[Session =] OhioManager.OpenSession(ConfigurationResource As IComApi, SessionName As String)
[Session =] OhioManager.OpenSession(ConfigurationResource As String, SessionName As String)
C#
[Session =] OhioManager.OpenSession(int configurationResource, string sessionName);
[Session =] OhioManager.OpenSession(IComApi configurationResource, string sessionName);
[Session =] OhioManager.OpenSession(string configurationResource, string sessionName);
Parameters
The parameters are used as follows:
Is ConfigurationResource provided? Yes - Is SessionName provided? Yes - Is Session object with matching SessionName available on the system? Yes - Error, attempting to create an Session object with a non-unique SessionName. No - Create an Session object using SessionName and ConfigurationResource. No - Start a new Session using ConfigurationResource and generating a new SessionName. No - Is SessionName provided? Yes - Is Session object with matching SessionName available on the system? Yes - Return identified Session object. No - Return null. No - Return null.
|