InfoConnect for Airlines
Start() Method
Example 


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

Return Value

InfoConnect instance ID.
Remarks

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.

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

	
See Also