Skip to content

Latest commit

 

History

History
71 lines (63 loc) · 2.03 KB

File metadata and controls

71 lines (63 loc) · 2.03 KB
title CDynamicParameterAccessor::GetParamStatus | 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
CDynamicParameterAccessor::GetParamStatus
CDynamicParameterAccessor.GetParamStatus
ATL.CDynamicParameterAccessor.GetParamStatus
ATL::CDynamicParameterAccessor::GetParamStatus
GetParamStatus
dev_langs
C++
helpviewer_keywords
GetParamStatus method
ms.assetid 9300225a-616c-4a7d-82d0-8c2ecd4d8185
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

CDynamicParameterAccessor::GetParamStatus

Retrieves the status of the specified parameter stored in the buffer.

Syntax

  
      bool GetParamStatus(  
   DBORDINAL nParam,  
   DBSTATUS* pStatus  
);  
DBSTATUS* GetParamStatus(   
   DBORDINAL nParam    
) const throw( );  

Parameters

nParam
[in] The parameter number (offset from 1). Parameter 0 is reserved for return values. The parameter number is the index of the parameter based on its order in the SQL or stored procedure call. See SetParam for an example.

pStatus
[out] A pointer to the variable containing the DBSTATUS status of the specified parameter. For information on DBSTATUS values, see Status in the OLE DB Programmer's Reference, or search for DBSTATUS in oledb.h.

Remarks

The first override returns true on success or false on failure. The second override points to the memory containing the status of the specified parameter.

Requirements

Header: atldbcli.h

See Also

CDynamicParameterAccessor Class