Skip to content

Latest commit

 

History

History
69 lines (60 loc) · 1.99 KB

File metadata and controls

69 lines (60 loc) · 1.99 KB
title CRowsetImpl::ValidateCommandID | 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
CRowsetImpl.ValidateCommandID
CRowsetImpl::ValidateCommandID
dev_langs
C++
helpviewer_keywords
ValidateCommandID method
ms.assetid cdde6088-41bc-4b8f-a32b-f36f7d9b5ec0
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

CRowsetImpl::ValidateCommandID

Checks to see if either or both DBIDs contain string values, and if so, copies them to its data members m_strCommandText and m_strIndexText.

Syntax

  
      HRESULT CRowsetBaseImpl::ValidateCommandID(  
   DBID* pTableID,  
   DBID* pIndexID   
);  

Parameters

pTableID
[in] A pointer to the DBID representing the table ID.

pIndexID
[in] A pointer to the DBID representing the index ID.

Return Value

A standard HRESULT.

Remarks

This method is called through a static upcast by CRowsetImpl to populate its data members m_strCommandText and m_strIndexText. By default, this method checks to see if either or both DBIDs contain string values, and if so, copies them to its data members. By placing a method with this signature in your CRowsetImpl-derived class, your method will be called instead of the base implementation.

Requirements

Header: atldb.h

See Also

CRowsetImpl Class
CRowsetImpl::SetCommandText