I create connection to the server (successfully).
string oracleDbConnection = "Data Source=(DESCRIPTION=" + "(ADDRESS_LIST=" + "(ADDRESS=" + "(PROTOCOL=TCP)" + "(HOST=111.111.11.111)" \\ Здесь написал фейковый адрес + "(PORT=1521)" + ")" + ")" + "(CONNECT_DATA=" + "(SERVER=DEDICATED)" + "(SERVICE_NAME=ORCL)" + ")" + ");" + "User Id=test;Password=test;"; OracleConnection connection = new OracleConnection(oracleDbConnection); Further I wanted to see all the schemes (get their names, and other parameters in the future)
connection.Open(); OracleCommand cursCmd = new OracleCommand("select * from all_users", connection); OracleDataReader reader = cursCmd.ExecuteReader(); Did everything right, gentlemen, and how to get a list of schemes further?
In the connection string, the connection is made via the main test circuit. As I explained, through it you can get information about all the other schemes on the server.
Ideally, you need to get a list of schemes in which the application will upload dumps.
all_usersview,all_usersreally a list of all users. And in the user = the scheme. And then ... apparently read from the resulting cursor lines as with any other select - Mikevar tables = connection.GetSchema("Tables");- Stack