Partager via


ICommandImpl::GetDBSession

 

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 ICommandImpl::GetDBSession.

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

Syntax

  
      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

ICommandImpl Class