dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleConnection Class / ServiceName Property

In This Topic
ServiceName Property (OracleConnection)
In This Topic
Gets or sets an alias to an Oracle database instance (or many instances) to use in the OracleConnection.Direct mode.
Syntax
'Declaration
 
Public Property ServiceName As String
 

Property Value

Alias to an Oracle database instance (or many instances) to use in the OracleConnection.Direct mode. The default value is empty string.
Remarks

This property is used only in OracleConnection.Direct mode. When a value is assigned to this property, the OracleConnection is closed.

When Service Name is specified and implies several database instances, dotConnect for Oracle connects to the first instance provided by Oracle listener. Note that RAC is not supported in the Direct mode, and provider works only with this one database instance.

See Also