.net连接oracle的connectionString

OLE DB, OleDbConnection (.NET)
 
Standard security
This connection string uses a provider from Microsoft.  
Provider= msdaora; Data Source= MyOracleDB; User Id= myUsername; Password= myPassword;
   COPY TO CLIPBOARD
Trusted connection
   
Provider= msdaora; Data Source= MyOracleDB; Persist Security Info= False; Integrated Security= Yes;
   COPY TO CLIPBOARD
Standard Security
This connection string uses a provider from Oracle.  
Provider= OraOLEDB.Oracle; Data Source= MyOracleDB; User Id= myUsername; Password= myPassword;
   COPY TO CLIPBOARD
Trusted Connection
   
Provider= OraOLEDB.Oracle; Data Source= MyOracleDB; OSAuthent= 1;
   COPY TO CLIPBOARD
TNS-less connection string
   
Provider= OraOLEDB.Oracle; Data Source= (DESCRIPTION=(CID=GTU_APP)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=myHost)(PORT=myPort)))(CONNECT_DATA=(SID=MyOracleSID)(SERVER=DEDICATED))); User Id= myUsername;
Password= myPassword;

地址:http://www.connectionstrings.com/?carrier=oracle

 

 

你可能感兴趣的:(oracle,.net,Security,Microsoft)