Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal connectionString As System.String, _ ByVal sql As System.String, _ ByVal timeout As System.Integer _ ) |
C# | |
---|---|
public OleDBDataSource( System.string connectionString, System.string sql, System.int timeout ) |
Parameters
- connectionString
- The connection used to open the database.
- sql
- The text of the query.
- timeout
- The wait time before terminating an attempt to execute a command.
Target Platforms: 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