DBA Privilege parameter

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 1
Joined: Fri 02 Aug 2013 12:10

DBA Privilege parameter

Post by malsergey » Fri 02 Aug 2013 13:56

Does dotConnect for Oracle supports "DBA Privilege" attribute for connection string?
I can't found parameter in connection builder for "DBA Privilege" attribute. Also when I trying to add this parameter to connection string i got error about wrong parameter.


Devart Team
Posts: 2141
Joined: Wed 02 Nov 2011 09:44

Re: DBA Privilege parameter

Post by Pinturiccio » Mon 05 Aug 2013 13:44

Yes, dotConnect for Oracle supports connecting with DBA privileges. OracleConnection class has the ConnectMode property, allowing you to connect as SYSDBA or SYSOPER. For more information please refer to http://www.devart.com/dotconnect/oracle ... tMode.html

You may also specify the value of this property in the connection string. See example below:

Code: Select all

OracleConnecion conn = new OracleConnection("Data source=xxx; user id=xxx; password=xxx; Connect Mode=sysdba;");

Post Reply