IMessage.DataSource Property
DataSource Property
The DataSource property references the IDataSource interface on this object.
Syntax
Property DataSource as IDataSource
read-only
HRESULT get_DataSource(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.