Table of Contents

Class GuiConnection

Namespace
SapGui.Wrapper
Assembly
SapGui.Wrapper.dll

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

bool

Host

Application server hostname.

public string Host { get; }

Property Value

string

SessionCount

Number of open sessions on this connection.

public int SessionCount { get; }

Property Value

int

SystemName

System number.

public string SystemName { get; }

Property Value

string

Methods

GetFirstSession()

Gets the first session on this connection.

public GuiSession GetFirstSession()

Returns

GuiSession

GetSession(int)

Gets a specific session by zero-based index.

public GuiSession GetSession(int index)

Parameters

index int

Returns

GuiSession

GetSessions()

Returns all sessions on this connection.

public IReadOnlyList<GuiSession> GetSessions()

Returns

IReadOnlyList<GuiSession>