VCOM:VectorWorks:Extension:IDBDatabase::ExecuteQueryN: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
Member of [[VCOM:VectorWorks:Extension:IDBDatabase]] | Member of [[VCOM:VectorWorks:Extension:IDBDatabase]] | ||
Executes the query. | |||
</desc> | </desc> | ||
Line 16: | Line 16: | ||
<def> | <def> | ||
<funcDef lang="cpp"> | <funcDef lang="cpp"> | ||
virtual | virtual VCOMError VCOM_CALLTYPE ExecuteQueryN(const TXString& sql, int driverNoToDoTheJob, IDBResultSet** ppOutResultSet) = 0; | ||
</funcDef> | </funcDef> | ||
</def> | </def> | ||
Line 26: | Line 26: | ||
sql | sql | ||
const [[SDK:TXString]]& | const [[SDK:TXString]]& | ||
The query. | |||
</line> | </line> | ||
<line> | <line> | ||
driverNoToDoTheJob | driverNoToDoTheJob | ||
int | int | ||
Driver number to do execute the query. | |||
</line> | </line> | ||
<line> | <line> | ||
ppOutResultSet | ppOutResultSet | ||
IDBResultSet** | IDBResultSet** | ||
Pointer to the result set. | |||
</line> | </line> | ||
</lineList> | </lineList> | ||
</params> | </params> | ||
Line 49: | Line 52: | ||
<line> | <line> | ||
kVCOMError_NotInitialized | kVCOMError_NotInitialized | ||
Bad VCOM instance used to call the | Bad VCOM instance used to call the function. | ||
</line> | </line> | ||
<line> | <line> | ||
Line 55: | Line 58: | ||
Routine failed. | Routine failed. | ||
</line> | </line> | ||
<line> | |||
kVCOMError_NoError | |||
Routine succeeded. | |||
</line> | |||
</lineList> | </lineList> | ||
</return> | </return> |
Latest revision as of 11:44, 2 November 2015
.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference
Description
namespace VectorWorks::Extension
Member of VCOM:VectorWorks:Extension:IDBDatabase
Executes the query.
virtual VCOMError VCOM_CALLTYPE ExecuteQueryN(
const TXString& sql,
int driverNoToDoTheJob,
IDBResultSet** ppOutResultSet) = 0;
Parameters
sql const SDK:TXString& The query. driverNoToDoTheJob int Driver number to do execute the query. ppOutResultSet IDBResultSet** Pointer to the result set.
Return Value
Uses standard VCOM Error Reporting.
Return value meaning:
kVCOMError_NotInitialized Bad VCOM instance used to call the function. kVCOMError_Failed Routine failed. kVCOMError_NoError Routine succeeded.