Table of Contents

Method RemoveDataSource

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

RemoveDataSource(DataSource)

Attempts to remove a specified DataSource from this instance's management.
If the DataSource is found and removed successfully, the method returns true. If it is not found, the method returns false.

public bool RemoveDataSource(DataSource dataSource)

Parameters

dataSource DataSource

The DataSource to be removed. This parameter must not be null.

Returns

bool

Returns true if the DataSource was successfully removed; otherwise, returns false.

Exceptions

ArgumentNullException

Thrown if the dataSource is null, as a non-null DataSource is required for removal.