📚 SAP Business One SDK Help

GetApplication Method
See Also 
AppId
The application ID

Description

Returns an Application object initialized by a previous call to the Connect method.

Syntax

Visual Basic
Public Function GetApplication( _
   Optional ByVal AppId As Long = -1 _
) As Application

Parameters

AppId
The application ID

Remarks

The connect method must be called before calling the GetApplication method; otherwise, the method returns Null.

Example

See Also