IApplication VBS_GetSessions (Method)
Determine the number of active sessions and retrieve information about each of the sessions.
Function VBS_GetSessions(buffer As Variant) As Long
Parameters
No | Name | Type | Optional | Default | Description |
---|---|---|---|---|---|
1 | buffer | Variant | No | - | Buffer to hold the session information |
Return Code | Description | ||||
JGS_OK | Success | ||||
JGS_MEMORY | Not enough memory | ||||
JGS_SYSERROR | The function failed due to a system error |
Sample Code
Dim myString as Variant
Dim result as Long
myString = ""
result = sess.VBS_GetSessions(myString)
QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.