DataSource Property (IItem)

Topic Last Modified: 2006-06-13

Returns the IDataSource interface on the object. This property is read-only.

Applies To

IItem Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Property DataSource As IDataSource
HRESULT get_DataSource(IDataSource** pVal);

Parameters

Remarks

This property returns the IDataSource Interface on the object. The IDataSource interface on the object is used to open items from, and save items to, the Exchange store and Collaboration Data Objects (CDO) objects.

If the object does not implement the IDataSource interface, the Component Object Model (COM) exception E_NOTIMPL is raised.