Close_Method
Close_Method
Sends a request to the QWS3270 window with the specified session ID or session name to close the session.
Namespace: JollyGiant.Emulation
Assembly: JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
StatusCode Close( Object sessionID ) |
Visual Basic (Declaration) |
---|
Function Close ( _ sessionID As Object _ ) As StatusCode |
Visual C++ |
---|
StatusCode Close( Object^ sessionID ) |
JavaScript |
---|
function Close(sessionID); |
Parameters
sessionID
Type: System..Object
The session ID or name of the instance to close.
Return Value
The StatusCode indicating the result of the operation.This can be one of the following values:
Status code | Description |
---|---|
Ok | Message to QWS session with specified session name to close was successfully posted. |
InvalidPsId | The specified session ID or name was invalid. |
WHLLUNKNOWN | An unknown error occurred. |
Remarks
This method can only be used if the session was started with either the Start(String, String, Char) or the StartSession(String, String) method. If the session was started with the Start(String, String, Char) method, the session parameter must specify the returned session ID. If the session was started with the StartSession(String, String) method, the parameter must specify the session name used to start the session.
See Also
, multiple selections available,
Related content
Command Line Parameter Syntax
Command Line Parameter Syntax
More like this
Command Line Parameters
Command Line Parameters
More like this
How to use Command Line Parameters
How to use Command Line Parameters
More like this
Undocumented Session Parameters
Undocumented Session Parameters
More like this
Sample Command Line Parameter Entries
Sample Command Line Parameter Entries
More like this
Installer Command Line Parameter Syntax
Installer Command Line Parameter Syntax
More like this