Method Dispose
Dispose()
Perform tasks associated with freeing, releasing, or resetting resources.
Declaration
void Dispose()
Examples
The following example disconnects from the data source on dispose.
public void Dispose()
{
_source.DisConnect();
}