New Method for LCSession

This is the constructor method for the LCSession object.

Multiple LCSession objects may be created within a script. All LCSession objects within a single script execution share the same status information.

In a normal LC application, this method accepts no arguments and you do not need to declare an LCSession object unless you wish to. However, when used in an agent called by an HCL Enteprise Integrator (HEI) Scripted activity, you must have an LCSession object and a different syntax applies. Refer to Appendix E for details.

Defined In

LCSession

Syntax

Dim variableName As New LCSession

Example

Option Public
Uselsx "*lsxlc" 
Sub Initialize
	Dim Session as New LCSession