Refs #7188  Replaced TableWorkspace by ITableWorkspace

When retrieving a TableWorkspace property