Compartir a través de


DataSource Property

DataSource Property

The DataSource property returns the IDataSource interface on the object.

Syntax

Property DataSource as IDataSource
read-only
HRESULT get_DataSource(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.