SessionLoader Assembly > SessionLoader Namespace > SessionLoader Class : requestScreen Method |
'Declaration
Public Function requestScreen( _ ByVal userid As String, _ ByVal password As String, _ ByVal config As String _ ) As ScreenUPG
'Usage
Dim instance As SessionLoader Dim userid As String Dim password As String Dim config As String Dim value As ScreenUPG value = instance.requestScreen(userid, password, config)
Exception | Description |
---|---|
SessionException | Thrown if the requested session could not be loaded. |
SessionLoader sl = new SessionLoader(); ScreenUPG screen; try { screen = sl.requestScreen("your_userid", "your_password", "your_config"); } catch (SessionException se) { // Unable to load MCS configuration System.out.println(se.getMessage()); }
Dim sl As SessionLoader.SessionLoader Dim screen as ScreenUPG.ScreenUPG On error resume next 'Get the SessionLoader Set sl = CreateObject("SessionLoader.SessionLoader") 'Get the screen object from the specified MCS configuration Set screen = sl.requestScreen("your_userid", "your_password", "your_config")
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2