Method Dispose
Dispose()
Perform tasks associated with freeing, releasing, or resetting resources.
Declaration
void Dispose()
Examples
Example disconnects from data source when disposed
public void Dispose()
{
_source.DisConnect();
}