| Visual Basic |
|---|
Public Function GetCompanyList() As Recordset |
This method returns a Recordset object that contains a list of available companies on the server.
The list includes the following four fields:
This method is commonly used at start-up phase, when you are not sure which company databases exist on the server. Alternatively, you can use this method to allow users to choose the company database.
Before using this method, you must set the correct value to the Server property. If OpenID Connect (OIDC) is enabled, you also need to set the UserName and Password properties. Otherwise, the method returns an empty list.
After retrieving the company databases list, you can use the Connect method to set up a connection with a specific company database.