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

ServiceName Property (OracleConnectionStringBuilder)
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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also