'Declaration Public Function Connect( _ ByVal connectionStr As String _ ) As Boolean
public bool Connect( string connectionStr )
Connections opened through Connect are managed by the WebScheduleDbProvider and will be closed when they are no longer needed for the processing of the current HTTP request (i.e., when the Page unloads). Using Connect hides the underlying data implementation and reduces housekeeping responsibilities associated with holding an IDbConnection reference directly.
Each time the Page posts back, any database connection will need to be re-established.
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