| title | CDynamicAccessor::SetStatus | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | article | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | 6db82694-e87d-4bf8-a7e3-5765cf6abff9 | |||||||||||||
| caps.latest.revision | 8 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
Sets the status of the specified column.
bool SetStatus(
DBORDINAL nColumn,
DBSTATUS status
) throw( );
bool SetStatus(
const CHAR* pColumnName,
DBSTATUS status
) throw( );
bool SetStatus(
const WCHAR* pColumnName,
DBSTATUS status
) throw( );
nColumn
[in] The column number. Column numbers start with 1. A value of 0 refers to the bookmark column, if any.
status
[in] The column status. See DBSTATUS in the OLE DB Programmer's Reference for more information.
pColumnName
[in] A pointer to a character string containing the column name.
Returns true if the specified column status is set successfully. Otherwise, this function returns false.
Header: atldbcli.h