public void Remove(string name)
{
long logScopeId = DataCommonEventSource.Log.EnterScope("<ds.DataTableCollection.Remove|API> {0}, name='{1}'", ObjectID, name);
try
{
DataTable dt = this[name];
if (dt == null)
{
throw ExceptionBuilder.TableNotInTheDataSet(name);
}
Remove(dt);
}
finally
{
DataCommonEventSource.Log.ExitScope(logScopeId);
}
}