CDataConnection::OpenNewSession

Opens a new session using the current connection object's data source.

HRESULT OpenNewSession( 
   CSession & session  
) throw( );

Параметры

  • session
    [in/out] A reference to the new session object.

  • Remarks
    The new session uses the current connection object's contained data source object as its parent, and can access all of the same information as the data source.

Возвращаемое значение

A standard HRESULT.

Требования

Header: atldbcli.h

См. также

Основные понятия

CDataConnection Class

CDataConnection Members