Partager via


DataSource Property (IPerson)

Topic Last Modified: 2006-06-13

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

Applies To

IPerson 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 implementing object. In Collaboration Data Objects (CDO) for Microsoft® Exchange Server, a common use of this property is to use the Open method on IDataSource to open an item in the store.

If the IDataSource interface is not implemented by the object, then the Component Object Model (COM) exception E_NOTIMPL is raised.