List of available databases from VConnection

Harald Schlager harald.schlager at glyps.com
Tue Mar 22 03:18:27 CDT 2011


Hi all!

 

If i connect via hostname:port to a valentina database server how can I get
a list of databases via RB-code ?

 

    Valentina.Init(val(initCache) * 1024 * 1024)

    Valentina.DebugLevel = dbdebugLevel

    

    vcon = new VConnection( inHost, User, Pass, val(inPort), val(inTimeout),
inOptions)

    try

      vcon.Open()

    Catch

      fun.Log("Connect to Valentina Database Server " + inhost + ":" +
inPort + " failed ! Try to Start DB-Server !")

      return false

    end try

    

Thank you in advance,

 

Harald

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20110322/b38f6561/attachment.htm>


More information about the Valentina mailing list