Compartilhar via


IADOConnectionConstruction::WrapDSOandSession

Initializes a connection from an existing OLEDB Data Source object and Session.

Syntax

HRESULT WrapDSOandSession(
   IUnknown* pDSO
   IUnknown* pSession);

Parameters

  • pDSO
    [in] An interface pointer to the Data Source object. It must point to an IDBInitialize interface.

  • pSession
    [in] An interface pointer to the Session object. It must be queryable for the ISessionProperties, IBindResource, and ICreateRow interfaces.

Remarks

In the header file, this method is called ADOCommandConstruction::WrapDSOandSession.

See Also

Reference

IADOConnectionConstruction