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