timeout when open oracle connection
Posted: Tue 26 Dec 2006 04:13
what is the proper way to configure the timeout on the open method to oracle.
I am using the direct method
oconn.UserId = oracleUserID
oconn.Password = oraclePW
oconn.Server = oracleServerDNS
oconn.Port = oraclePort
oconn.Sid = oracleSID
oconn.ConnectMode = Oracle.OracleConnectMode.Default
oconn.Direct = True
when i try to say
oconn.connectiontimeout=5000
won't compile
tried
oconn.connectiontimeout.maxvalue=5000
no compile again.
thanks
I am using the direct method
oconn.UserId = oracleUserID
oconn.Password = oraclePW
oconn.Server = oracleServerDNS
oconn.Port = oraclePort
oconn.Sid = oracleSID
oconn.ConnectMode = Oracle.OracleConnectMode.Default
oconn.Direct = True
when i try to say
oconn.connectiontimeout=5000
won't compile
tried
oconn.connectiontimeout.maxvalue=5000
no compile again.
thanks