CSession::Open
HRESULT Open( const CDataSource& ds );
Return Value
A standard HRESULT.
Parameters
ds
[in] The data source for which the session is to be opened.
Remarks
Creates a new session for the data source object ds. You must open the data source object using CDataSource::Open before passing it to CSession::Open.