Version

UseStoredProcedureDefault Property (WebScheduleDbProvider)

The default value for the UseStoredProcedure property.
Syntax
'Declaration
 
Protected Overridable ReadOnly Property UseStoredProcedureDefault As Boolean
protected virtual bool UseStoredProcedureDefault {get;}

Property Value

The base class implementation of UseStoredProcedureDefault always returns False as the default. Inheritors may override this property to return True, if they support stored procedures.
Remarks

This is called at construction-time to initialize the field holding the stored procedure flag, based on whether the underlying data provider supports stored procedures. It is also called at serialization-time to determine whether the design-time setting of UseStoredProcedure should be preserved. Because it is called early in the WebScheduleDbProvider lifecycle, any overriding implementations of this property should avoid any interactions with other components (which may not have had an opportunity to initialize themselves).

Requirements

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

See Also