IDataSourceCollection::Remove
HRESULT Remove(
VARIANT vt // VT_BSTR, VT_I2, VT_I4, VT_UI4
);
Return Values
This method returns the HRESULT.
Remarks
Removes the DataSource matching the variant passed in:
-
VT_BSTR - Remove the DataSource by its name
-
VT_I2,
VT_I4,
VT_UI4 - Remove the DataSource by its index or ID