DataSource Property

The DataSource property contains the IDataSource interface for this object.

Property DataSource As IDataSource[C++]
propget,
HRESULT get_DataSource(IDataSource**varDataSource);

[Visual Basic]

Parameters

None.

Return Values

This property returns a DataSource Object.

Error Values

If an error is raised, Err.Number is set to one of the values documented on the Error Messages page.

[C++]

Parameters

Get method:

  • varDataSource
    [out, retval] Address of a pointer to the IDataSource interface.
Return Values

For a list of error messages returned by SharePoint Portal Server, see Error Messages.

Remarks

This is a read-only property. However, the returned data source object has methods and properties that are read/write.

Binding to Items Stored in SharePointPortal Server