[fdo-dev] Connection string

Robert Fortin robert.fortin at autodesk.com
Thu Sep 7 14:47:22 EDT 2006


Gabriel,
 
you can always get the list of valid connection parameters for any FDO
provider by looking at the
FdoIConnection->GetConnectionInfo->GetConnectionProperties.
You can also set the connection parameter values this way instead of
using the SetConnectionString.  It is more convenient with UI.
 
RF

  _____  

From: Romica Dascalescu 
Sent: Thursday, September 07, 2006 2:37 PM
To: dev at fdo.osgeo.org
Cc: Gabriel Ajayi
Subject: RE: [fdo-dev] Connection string



 

You should try:

connection->SetConnectionString(L" DefaultFileLocation=test.shp")

 

You can have a look at the SHP unit tests.

 

  _____  

From: Gabriel Ajayi 
Sent: Thursday, September 07, 2006 12:49 PM
To: dev at fdo.osgeo.org
Subject: [fdo-dev] Connection string

 

What is the format of the connection string for a shape file?

connection->SetConnectionString(L"SHPFile=test.shp")  doesn't seem to
work.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-internals/attachments/20060907/d9c2f7e9/attachment.html


More information about the Fdo-internals mailing list