다음을 통해 공유


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

Concepts

ICommandImpl Class

ICommandImpl Members