CTI Client network functions (.NET)

Begin

Contents  Back  Next

Start an SQL query.

 

uint Begin

(

 String strCommand,

 uint dwCount

)

Parameters

strCommand

SQL command to send to the database.

 

dwCount

Maximum number of records to query.

 

Return value

Query ID as return value

 

Remarks

The function starts a database query. Any SQL string can be passed in, so long as the administrator has not made any restrictions. Since a large number of records may be discovered, dwCount should be used to limit the number. The query can be continued with Next and ended with End. Queries started with Begin are terminated in the server automatically after a few minutes. A Query ID is returned from each query and is required in subsequent calls to Next and End. A return value of 0 means the query could not be initiated. This occurs when the user is not logged onto the database.

 

See also

SQLTool overview

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.