J
Jie
Hi,
I am using Managed Data Provider from Microsoft. There is a sample codes in the help document:
Public Sub CreateOracleConnection()
Dim myConnString As String = _
"Data Source=Oracle8i;Integrated Security=yes"
Dim myConnection As New OracleConnection(myConnString)
myConnection.Open()
MessageBox.Show("ServerVersion: " + myConnection.ServerVersion _
+ ControlChars.NewLine + "DataSource: " + myConnection.DataSource)
myConnection.Close()
End Sub
I am surprised to see that Oracle also has Integrated Security. But I don't know how to set it up. Can you also tell me how to specify the Data Source? I believe it is not just Oracle8i as specified in the connection string above. Thanks.
Note: I am running Oracle 8i for Windows.
Jie
I am using Managed Data Provider from Microsoft. There is a sample codes in the help document:
Public Sub CreateOracleConnection()
Dim myConnString As String = _
"Data Source=Oracle8i;Integrated Security=yes"
Dim myConnection As New OracleConnection(myConnString)
myConnection.Open()
MessageBox.Show("ServerVersion: " + myConnection.ServerVersion _
+ ControlChars.NewLine + "DataSource: " + myConnection.DataSource)
myConnection.Close()
End Sub
I am surprised to see that Oracle also has Integrated Security. But I don't know how to set it up. Can you also tell me how to specify the Data Source? I believe it is not just Oracle8i as specified in the connection string above. Thanks.
Note: I am running Oracle 8i for Windows.
Jie