Dropping a SQL Server Table

OLE DB and SQL Server

OLE DB and SQL Server

Dropping a SQL Server Table

SQLOLEDB exposes the ITableDefinition::DropTable function, allowing consumers to remove a Microsoft® SQL Server™ 2000 table from a database.

Consumers specify the table name as a Unicode character string in the pwszName member of the uName union in the pTableID parameter. The eKind member of pTableID must be DBKIND_NAME.