Skip to content

Latest commit

 

History

History
65 lines (57 loc) · 1.2 KB

File metadata and controls

65 lines (57 loc) · 1.2 KB
title CCommand::Prepare | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
CCommand.Prepare
CCommand::Prepare
Prepare
dev_langs
C++
helpviewer_keywords
Prepare method
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

CCommand::Prepare

Validates and optimizes the current command.

Syntax

  
      HRESULT CCommandBase::Prepare(  
   ULONG cExpectedRuns = 0   
) throw( );  

Parameters

cExpectedRuns
[in] The number of times you expect to execute the command.

Return Value

A standard HRESULT.

Remarks

This method wraps the OLE DB method ICommandPrepare::Prepare.

Requirements

Header: atldbcli.h

See Also

CCommand Class