Table of Contents

Method GetDataSource

Namespace
LMKit.Retrieval
Assembly
LM-Kit.NET.dll

GetDataSource(string)

Retrieves the DataSource with the specified identifier. Throws a KeyNotFoundException if the data source does not exist.

public DataSource GetDataSource(string dataSourceIdentifier)

Parameters

dataSourceIdentifier string

The unique identifier for the DataSource.

Returns

DataSource

The DataSource corresponding to the specified identifier.

Exceptions

ArgumentNullException

Thrown if the identifier is null, empty, or white space.

KeyNotFoundException

Thrown if a DataSource with the specified identifier is not found.