Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)

OLE DB Programmer's Reference

Deletes a persisted command definition.

HRESULT DeleteCommand( DBID *pCommandID);

Parameters

pCommandID
[in] The DBID of the command to be deleted.

Return Code

S_OK
The command was successfully deleted.
DB_E_BADCOMMANDID
The command specified in *pCommandID does not exist.
E_FAIL
A provider-specific error occurred.
E_INVALIDARG
pCommandID was a null pointer.

1998-2001 Microsoft Corporation. All rights reserved.

Категории