The Load method loads a specified ispec or class in the runtime system for a session through a synchronous call. As this is a synchronous call, the calling process is blocked until the method completes.
Namespace – ABSuite.AccessLayer.Connector.Core
Assembly – Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll)
Syntax
TransmissionObject Load( string name, bool withSwitch = true )
Arguments
name – System.String
This argument provides the name of the ispec or class to be loaded.
withSwitch – System.Boolean
This argument is optional. It determines whether a TransmissionObjectChanged event is raised. By default, this is set to true.
Return Value
If this method succeeds, it returns a TransmissionObject containing the DataModel for the specified class to be loaded.
Using the IRtConnection Interface for the Load Method
The following code is an example of using the Load method:
connection.Load("Cust")