CDataSource::OpenFromFileName

HRESULT OpenFromFileName( LPCOLESTR szFileName );

Return Value

A standard HRESULT.

Parameters

szFileName

[in] The name of a file, usually a data source connection (.MDL) file.

For more information about data link files (.MDL files), see Data Link API Overview in the Platform SDK.

Remarks

Opens a data source from a file specified by the user-supplied file name.

CDataSource OverviewClass Members