ActiveReports 9
OleDBDataSource Constructor(String,String,Int32)

The connection used to open the database.
The text of the query.
The wait time before terminating an attempt to execute a command.
Initializes a new instance of the OleDbDataSource class.
Syntax
'Declaration
 
Public Function New( _
   ByVal connectionString As System.String, _
   ByVal sql As System.String, _
   ByVal timeout As System.Integer _
)
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.
Requirements

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

See Also

Reference

OleDBDataSource Class
OleDBDataSource Members
Overload List

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum