UsePassword(opaquePassword)
This method sets the OracleDataSource
password.
Declaration
// C# public OracleDataSourceBuilder UsePassword(OracleOpaqueString opaquePassword)
Parameters
-
opaquePassword
The database user password.
Return Value
The OracleDataSourceBuilder
itself allowing additional OracleDataSourceBuilder
methods to be chained.
Remarks
If a null value is the input parameter, connections will then use the connection string password.
If the password has zero length, ODP.NET throws ArgumentException of ORA-50029.
If opaquePassword
is not read only, ODP.NET throws an ORA-50095 error.