InfoConnect for Airlines
Start() Method

Starts a visible InfoConnect application instance when the InfoConnect Workspace "API Settings" .Net API option is enabled.
Public Overloads Shared Function Start() As Guid
Dim value As Guid
value = MyReflection.Start()
public static Guid Start()

Return Value

InfoConnect instance ID.

This method returns an instance ID of type Guid if the call is successful; otherwise an exception is thrown. The returned instance ID uniquely identifies the application instance and is used as an input parameter in ForceStop(Guid instanceId) to stop the instance. (Use the ForceStop() method only after the Close() method fails.

To create an application object for the first application instance you create, use CreateApplication("InfoConnect_yourUserID"). For example, if your user ID is “SmithJ”, the channel name for the first application instance you created with Start() would be “InfoConnect_SmithJ”.

If you need to create application objects for more than one application instance, use the overloaded version, Start(string channelName), to create a known unique channelName for each application instance.

The following example shows how to start a new application instance:

See Also