IJob.NewJobDataOdbc method
NewJobDataOdbc
IJobDataOdbc NewJobDataOdbc(String dsn, String user, String password, String sqlSelect)
Referenced types: IJobDataOdbc
Creates a new JobDataOdbc.
Initializes a new instance of the JobDataOdbc class and attaches it to the Job. JobDataOdbc controls the behavior when using databases (ODBC) as JobData for printing a Job.
Parameters
| Parameter / type | Description |
|---|---|
dsnString |
The DSN (ODBC data-source name) |
userString |
The (optional, may be empty) user name as required by the ODBC connection |
passwordString |
The (optional, may be empty) password as required by the ODBC connection |
sqlSelectString |
The SQL-SELECT statement |
Returns
A new instance of the JobDataOdbc class