Open topic with navigation

# Launch(SessionLaunchInfo, IDesktopEnvironment) Method

Launches the SAP GUI session and logs on to the server using the user credentials and details specified in the launchInfo parameter.

Use this overload when working with a LeanFT grid.

Note: Supported in LeanFT versions 14.51 and later.

C# Syntax

                            public static IGuiSession Launch(
            SessionLaunchInfo launchInfo,
            IDesktopEnvironmentenvironment
    )

Parameters

launchInfo
  The session launch information.

environment
  The environment on which to launch the GUI session, obtained using the EnvironmentFactory.Get method.

Return Value

The launched session