Convenience method to import data from a database using the Import method.

C# | Visual Basic |
public ArrayList ImportDatabase( SourceType sourceType, string connectionString, string sqlQuery, string uniqueColumnName, string resultUrlFormat )
Public Function ImportDatabase ( sourceType As SourceType, connectionString As String, sqlQuery As String, uniqueColumnName As String, resultUrlFormat As String ) As ArrayList

- sourceType (SourceType)
- The SourceType specifying the database type
- connectionString (String)
- Connection string for DB
- sqlQuery (String)
- The SQL query returning the data to index
- uniqueColumnName (String)
- The name of the column which uniquely identifies a row (eg. primary key)
- resultUrlFormat (String)
- The format string for the result URLs.

ArrayList
Returns list of Uri objects newly imported
Returns list of Uri objects newly imported

The Help has much more information in the importing section, regarding databases imports.
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610