Click or drag to resize

OhioSessions Class

Represents the central repository for access to all OHIO sessions. It contains a list of all OhioSession objects available on this system.
Inheritance Hierarchy
SystemObject
  Flex.Hal.OhioOhioSessions

Namespace:  Flex.Hal.Ohio
Assembly:  Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 4.1.4031.1525
Syntax
public sealed class OhioSessions : IEnumerable

The OhioSessions type exposes the following members.

Constructors
  NameDescription
Public methodOhioSessions
Initializes a new instance of the OhioSessions class.
Top
Properties
  NameDescription
Public propertyCount
Gets the total number of OhioSession in the collection.
Public propertyExpireDate
Gets the expiration date (for a subscription or evaluation license).
Public propertyItem
Gets the OhioSession object at the given index. "One based" indexing is used in all Ohio collections. For example, the first OhioSession in this collection is at index 1.
Public propertyLicenseCode
Gets the license code.
Public propertySessionLimit
Gets the licensed maximum number of sessions.
Public propertyVersion
Gets the version number.
Top
Methods
  NameDescription
Public methodAddSession(String)
Creates and returns a new OhioSession.
Public methodAddSession(ConnectionSettings)
Creates and returns a new OhioSession.
Public methodAddSession(SessionSettings)
Creates and returns a new OhioSession.
Public methodCloseSession
Closes an OhioSession object. The OhioSession is considered invalid and is removed from the list of OhioSession objects. The session name is obtained by OhioSession.SessionName property.
Public methodOpenSession
Gets the OhioSession using the session name. The session name is obtained by OhioSession.SessionName property.
Top
See Also