'Declaration Protected Overridable Function FilterDataSource( _ ByVal source As DataSourceControl _ ) As Boolean
protected virtual bool FilterDataSource( DataSourceControl source )
This method is called when resolving the DataSourceID property at run-time.
If you use this method to capture a reference to the DataSourceControl, then you should be aware that any changes you make to the DataSourceControl instance may not have an effect on the WebSchedule data provider.
Inheritors must call the base implementation of the FilterDataSource method and logically-AND the outcome with the results of their own processing before returning the result, otherwise an overridden implementation may allow to pass through a DataSourceControl unable to meet the requirements of a WebSchedule data provider. This could lead to an exception being later thrown.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2