Roles
This property retrieves the OracleRoleCollection
object associated with the connection.
Declaration
// C# public OracleRoleCollection Roles{get;}
Property Value
An OracleRoleCollection
object containing the role list for the connection.
Exceptions
ObjectDisposedException - The object is already disposed.
Remarks
The OracleRoleCollection
object specifies roles to be set on newly created or pool-dispensed connections.
If no OracleRoleCollection
instance is associated with the connection object, ODP.NET creates a new instance and returns it to the application.