Platform SDK: CDO for Windows 2000

DataSource Property

The DataSource property returns the IDataSource interface on the object.

[Visual Basic]
Property DataSource as IDataSource
read-only
[C++]
HRESULT get_DataSource(IDataSource** pVal);
[IDL]
HRESULT [propget] DataSource([out,retval] IDataSource** pVal);

Remarks

This property can only be used on a Message object.

The BodyPart object provided with Microsoft Collaboration Data Objects (CDO) for Microsoft® Windows® 2000 does not provide an implementation the IDataSource interface. This method raises an exception if this property is used.