DataSource Constructor (ConnectionStringBuilder, Boolean)

System.Data.Generic

DataSource Constructor (ConnectionStringBuilder, Boolean)
Returns a new instance of the DataSource class, using a connectionstring builder.

Namespace: System.Data.Generic
Assembly: System.Data.Generic (in System.Data.Generic.dll) Version: 1.9.5473.30542 (1.9.5473.2392)
Syntax
public DataSource(
	ConnectionStringBuilder connection,
	bool delayOpening
)
Public Sub New ( 
	connection As ConnectionStringBuilder,
	delayOpening As Boolean
)
public:
DataSource(
	ConnectionStringBuilder^ connection, 
	bool delayOpening
)
new : 
        connection : ConnectionStringBuilder * 
        delayOpening : bool -> DataSource

Parameters

connection
Type: System.Data.GenericConnectionStringBuilder
ConnectionStringBuilder class for the connection.
delayOpening
Type: SystemBoolean
Boolean. Indicates if the data connection should be opened upon intialization of the DataSource class.
Remarks