Keyoti Search for ASP.NET API Docs
ImportDatabase Method (sourceType, connectionString, sqlQuery, uniqueColumnName, resultUrlFormat)
API DocumentationKeyoti.SearchEngine.IndexDocumentIndexImportDatabase(SourceType, String, String, String, String)
Keyoti Search for ASP.NET 2010
Convenience method to import data from a database using the Import method.
Declaration Syntax
C#Visual BasicVisual C++
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
public:
ArrayList^ ImportDatabase(
	SourceType sourceType, 
	String^ connectionString, 
	String^ sqlQuery, 
	String^ uniqueColumnName, 
	String^ resultUrlFormat
)
Parameters
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.
Return Value
Returns list of Uri objects newly imported
Remarks
The Help has much more information in the importing section, regarding databases imports.

Assembly: Keyoti2.SearchEngine.Core (Module: Keyoti2.SearchEngine.Core) Version: 2010.4.1.609