VCOM:VectorWorks:Extension:IDBDatabase::ConnectDriver: 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. | |||
</desc> | </desc> | ||
Line 26: | Line 26: | ||
inOutConnectionString | inOutConnectionString | ||
IDBConnectionString* | IDBConnectionString* | ||
Pointer to the in/out IDBConnectionString, which represents the driver settings. | |||
</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_NoError | |||
Routine succeeded. | |||
</line> | </line> | ||
</lineList> | </lineList> |
Revision as of 09:17, 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.
virtual VCOMErrorVCOM_CALLTYPE ConnectDriver(
IDBConnectionString* inOutConnectionString) = 0;
Parameters
inOutConnectionString IDBConnectionString* Pointer to the in/out IDBConnectionString, which represents the driver settings.
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.