Skip to content

Latest commit

 

History

History
80 lines (66 loc) · 1.89 KB

File metadata and controls

80 lines (66 loc) · 1.89 KB
title CDynamicParameterAccessor::GetParamIO | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
devlang-cpp
ms.tgt_pltfrm
ms.topic article
f1_keywords
GetParamIO
CDynamicParameterAccessor::GetParamIO
ATL.CDynamicParameterAccessor.GetParamIO
CDynamicParameterAccessor.GetParamIO
ATL::CDynamicParameterAccessor::GetParamIO
dev_langs
C++
helpviewer_keywords
GetParamIO method
ms.assetid 9c485e39-c67e-4df7-a707-c773019c4d1e
caps.latest.revision 9
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::GetParamIO

Determines whether the specified parameter is an input or output parameter.

Syntax

  
      bool GetParamIO(   
   DBORDINAL nParam,   
   DBPARAMIO * pParamIO    
) 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.

pParamIO
A pointer to the variable containing the DBPARAMIO type (input or output) of the specified parameter. It is defined as follows:

typedef DWORD DBPARAMIO;

enum DBPARAMIOENUM

{ DBPARAMIO_NOTPARAM = 0,

DBPARAMIO_INPUT = 0x1,

DBPARAMIO_OUTPUT = 0x2

};

Return Value

Returns true on success or false on failure.

Requirements

Header: atldbcli.h

See Also

CDynamicParameterAccessor Class