Platform SDK: CDO for Windows 2000

DataSource Property

The DataSource property references the IDataSource interface on this object.

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

Remarks

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.