VCOM:VectorWorks:Extension:IDBDatabase::ConnectDriverN: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 10: | Line 10: | ||
Member of [[VCOM:VectorWorks:Extension:IDBDatabase]] | Member of [[VCOM:VectorWorks:Extension:IDBDatabase]] | ||
This function connects to a data source using the connection string. | |||
</desc> | </desc> | ||
Line 26: | Line 26: | ||
connectionString | connectionString | ||
const [[SDK:TXString]]& | const [[SDK:TXString]]& | ||
Connection string. | |||
</line> | </line> | ||
</lineList> | </lineList> | ||
Line 39: | Line 39: | ||
<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> | ||
kVCOMError_Failed | kVCOMError_Failed | ||
Routine failed. | Routine failed. | ||
</line> | |||
<line> | |||
kVCOMError_InvalidArg | |||
Invalid input parameter(s). | |||
</line> | |||
<line> | |||
kVCOMError_kVCOMError_NoError | |||
Routine succeeded. | |||
</line> | </line> | ||
</lineList> | </lineList> |
Latest revision as of 12:24, 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
This function connects to a data source using the connection string.
virtual VCOMErrorVCOM_CALLTYPE ConnectDriverN(
const TXString& connectionString) = 0;
Parameters
connectionString const SDK:TXString& Connection string.
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_InvalidArg Invalid input parameter(s). kVCOMError_kVCOMError_NoError Routine succeeded.