| title |
CCommand::Prepare | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
article |
| f1_keywords |
CCommand.Prepare |
CCommand::Prepare |
Prepare |
|
| dev_langs |
|
| helpviewer_keywords |
|
| ms.assetid |
f0e473fc-2f7a-4d29-96c2-1328dc21e702 |
| caps.latest.revision |
8 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
Validates and optimizes the current command.
HRESULT CCommandBase::Prepare(
ULONG cExpectedRuns = 0
) throw( );
cExpectedRuns
[in] The number of times you expect to execute the command.
A standard HRESULT.
Remarks
This method wraps the OLE DB method ICommandPrepare::Prepare.
Header: atldbcli.h
CCommand Class