Drops a base table in the data source.
HRESULT DropTable (
DBID * pTableID);
Parameters
pTableID
[in]
A pointer to the DBID of the base table to drop.
Return Code
S_OK
The method succeeded and the table is dropped.
E_FAIL
A provider-specific error occurred.
E_INVALIDARG
pTableID was a null pointer.
DB_E_NOTABLE
The specified table does not exist in the current data source.
DB_E_TABLEINUSE
The specified table was in use and could not be dropped.
DB_SEC_E_PERMISSIONDENIED
The consumer did not have sufficient permission to drop the table.
DB_E_BADTABLEID
*pTableID was an invalid table ID.
See Also