Share via


ICommandImpl::GetDBSession

Returns an interface pointer to the session that created the command.

STDMETHOD (GetDBSession) ( 
   REFIID riid, 
   IUnknown** ppSession  
);

Parameters

See ICommand::GetDBSession in the OLE DB Programmer's Reference.

Remarks

Useful for retrieving properties from the session.

Requirements

Header: atldb.h

See Also

Reference

ICommandImpl Class