Version

ConnectionStringDefault Property (WebScheduleSqlClientProvider)

Default connection string used to establish a SQL Server connection when no ConnectionString is supplied by the developer.
Syntax
'Declaration
 
Protected Overrides ReadOnly Property ConnectionStringDefault As String
protected override string ConnectionStringDefault {get;}
Remarks

Inheritors may override this read-only property with their own default connection string suitable for connection to Microsoft SQL Server.

Before creating a new SqlConnection, the base class' Connection property calls the overridden CreateConnection factory method passing a developer-specified ConnectionString. If no ConnectionString has been specified, then the base class' Connection property passes CreateConnection the default connection string provided by this property.

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