Class GuiConnection
Represents a single server connection inside SAP GUI. A connection can have multiple sessions (windows).
public class GuiConnection : GuiComponent
- Inheritance
-
GuiConnection
- Inherited Members
Properties
DisabledByServer
Whether scripting has been disabled by the server policy.
public bool DisabledByServer { get; }
Property Value
Host
Application server hostname.
public string Host { get; }
Property Value
SessionCount
Number of open sessions on this connection.
public int SessionCount { get; }
Property Value
SystemName
System number.
public string SystemName { get; }
Property Value
Methods
GetFirstSession()
Gets the first session on this connection.
public GuiSession GetFirstSession()
Returns
GetSession(int)
Gets a specific session by zero-based index.
public GuiSession GetSession(int index)
Parameters
indexint
Returns
GetSessions()
Returns all sessions on this connection.
public IReadOnlyList<GuiSession> GetSessions()