To connect with SAP Business One, you can set this property to a SAPbouiCOM.Application object, and then call the Connect method without specifying any other connection properties -- the properties are taken from the UI API Application object.
Write-only property
| Visual Basic |
|---|
Public Property Application( _
   ByVal RHS As Object _
) As Object |
- RHS
- A UI API Application objection.
Creating a connection with this property is only relevant when an instance of the SAP Business One application on the same machine is open and connected to a company.
| Connecting using a UI API connection (Visual Basic) | Copy Code | |
|---|---|---|
| ||