Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at CDynamicAccessor::GetBookmark.
Retrieves the bookmark for the current row.
Syntax
  
      HRESULT GetBookmark(   
   CBookmark< >* pBookmark    
) const throw( );  
Parameters
pBookmark
[out] A pointer to the CBookmark object.
Return Value
One of the standard HRESULT values.
Remarks
You need to set DBPROP_IRowsetLocate to VARIANT_TRUE to retrieve a bookmark.
Requirements
Header: atldbcli.h