Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
| OLE DB Programmer's Reference |
Discards the current command execution plan.
HRESULT Unprepare();
Parameters
None.
Return Code
- S_OK
- The method succeeded.
- E_FAIL
- A provider-specific error occurred.
- DB_E_OBJECTOPEN
- A rowset was open on the command.
Comments
This method has no effect if the command was not prepared; the provider returns S_OK.
See Also
ICommandPrepare::Prepare
1998-2001 Microsoft Corporation. All rights reserved.