System.Data.Generic
DataSource Constructor (String, Boolean) |
Returns a new instance of the DataSource class.
Namespace: System.Data.Generic
Assembly: System.Data.Generic (in System.Data.Generic.dll) Version: 1.9.5473.30542 (1.9.5473.2392)

public DataSource( string connectionString, bool delayOpening )
Public Sub New ( connectionString As String, delayOpening As Boolean )
public: DataSource( String^ connectionString, bool delayOpening )
new : connectionString : string * delayOpening : bool -> DataSource
Parameters
- connectionString
- Type: SystemString
Connection string to open. - delayOpening
- Type: SystemBoolean
Boolean. Indicates if the data connection should be opened upon intialization of the DataSource class.

Use Open method to open later.
