Produces a sample DataTable of data that will be imported from the indexableSourceRecord using dataSource and places it in the DataSet ds as the first item.
Declaration Syntax
C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public virtual void GetImportSample( IndexableSourceRecord indexableSourceRecord, DataSet dataSet, int sampleSize, LinkBasedImportSampler..::..InvokeMethod invoker )
public virtual void GetImportSample( IndexableSourceRecord indexableSourceRecord, DataSet dataSet, int sampleSize, LinkBasedImportSampler..::..InvokeMethod invoker )
Public Overridable Sub GetImportSample ( indexableSourceRecord As IndexableSourceRecord, dataSet As DataSet, sampleSize As Integer, invoker As LinkBasedImportSampler..::..InvokeMethod )
Public Overridable Sub GetImportSample ( indexableSourceRecord As IndexableSourceRecord, dataSet As DataSet, sampleSize As Integer, invoker As LinkBasedImportSampler..::..InvokeMethod )
public: virtual void GetImportSample( IndexableSourceRecord^ indexableSourceRecord, DataSet^ dataSet, int sampleSize, LinkBasedImportSampler..::..InvokeMethod^ invoker )
public: virtual void GetImportSample( IndexableSourceRecord^ indexableSourceRecord, DataSet^ dataSet, int sampleSize, LinkBasedImportSampler..::..InvokeMethod^ invoker )
abstract GetImportSample : indexableSourceRecord : IndexableSourceRecord * dataSet : DataSet * sampleSize : int * invoker : LinkBasedImportSampler..::..InvokeMethod -> unit override GetImportSample : indexableSourceRecord : IndexableSourceRecord * dataSet : DataSet * sampleSize : int * invoker : LinkBasedImportSampler..::..InvokeMethod -> unit
abstract GetImportSample : indexableSourceRecord : IndexableSourceRecord * dataSet : DataSet * sampleSize : int * invoker : LinkBasedImportSampler..::..InvokeMethod -> unit override GetImportSample : indexableSourceRecord : IndexableSourceRecord * dataSet : DataSet * sampleSize : int * invoker : LinkBasedImportSampler..::..InvokeMethod -> unit
Parameters
- indexableSourceRecord (IndexableSourceRecord)
- The instance of the source record which will be used to import documents/records.
- dataSet (DataSet)
- The DataSet to which the DataTable is added.
- sampleSize (Int32)
- The number of records to retrieve.
- invoker (LinkBasedImportSampler..::..InvokeMethod)
- A UI control with an Invoke method, which can be used to invoke a method on the UI thread. Can only be null when operating outside of Windows Forms.
Remarks
Can be used to test import parameters and produce example of result from Import method.
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2015.6.15.120