|Retrieve port and host from IConnectionProfile [message #594454]
||Tue, 03 March 2009 16:41
Originally posted by: andi.hotz.adsl.li|
I figured out a great deal of how DTP works with the help from this
newsgroup or on my own. Thanks.
There is still a question I can't find an answer. Based on an
IConnectionProfile I can retrieve the connection URL through
getBaseProperties(). For some databases this connection string contains
the a port number and a host. The connection URL is part of the
properties defined with the database connection. The exact format of the
connection URL varies with the vendors (i.e. MySQL vs. Oracle). What I
need in my application is the port number and the host name. Is there a
way to retrieve these from a IConnectionProfile or must I write a vendor
specific parser for the connection string?
Powered by FUDForum
. Page generated in 0.01748 seconds