IMessage.DataSource Property

Exchange Server 2003

Topic Last Modified: 2004-06-08

The DataSource property references the IDataSource interface on this object.

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

You can use the DataSource property to navigate to the IDataSource interface on the object implementing the IMessage interface. This is equivalent to using QueryInterface in C++ or Set in Visual Basic, or using the IMessage.GetInterface method.