Interface Sessions
A collection object consisting of sessions.
Namespace: Attachmate.Verastream.HostIntegrator.E2V
Assembly: Attachmate.Verastream.HostIntegrator.E2V.dll
Syntax
[ComVisible(true)]
public interface Sessions
Properties
Application
Returns the System object. Read-only.
Declaration
System Application { get; }
Property Value
Type | Description |
---|---|
System |
Parent
Returns the parent of the specified object. Read-only.
Declaration
System Parent { get; }
Property Value
Type | Description |
---|---|
System |
Methods
Open(string)
Opens a new session in VHI, using a string argument to encode the model name and session server machine name.
Declaration
Session Open(string Name)
Parameters
Type | Name | Description |
---|---|---|
string | Name | A string in the form "modelname@sesssrvrhostname" or "modelname" (the latter will connect to session server at localhost). |
Returns
Type | Description |
---|---|
Session | The E2V Session that encapsulates the VHI session. |
Open(HostIntegratorRejuvenationSession)
Encapsulate an already open VHI session.
This method is preferred, because it allows full access to features such as session pools, domains, model variables, and security settings.
This method is only available in the E2V .NET interface, not in the COM interface.
Declaration
[ComVisible(false)]
Session Open(HostIntegratorRejuvenationSession vhiSession)
Parameters
Type | Name | Description |
---|---|---|
HostIntegratorRejuvenationSession | vhiSession | An already connected rejuvenation session. |
Returns
Type | Description |
---|---|
Session | The E2V Session that encapsulates the VHI session. |