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

In This Topic
ServiceName Property (OracleConnectionStringBuilder)
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 the Direct mode has limited support for RAC, it supports RAC with Connect Time Connection Failover (CTCF) only.

See Also