Show / Hide Table of Contents

Class DatabaseConnectionString

The Oracle Database connection string.

Inheritance
object
DatabaseConnectionString
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class DatabaseConnectionString

Properties

HostName

Declaration
[Required(ErrorMessage = "HostName is required.")]
[JsonProperty(PropertyName = "hostName")]
public string HostName { get; set; }
Property Value
Type Description
string

The host name of the database or the SCAN name in case of a RAC database.

Remarks

Required

Port

Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type Description
int?

The port used to connect to the database.

Remarks

Required

Protocol

Declaration
[Required(ErrorMessage = "Protocol is required.")]
[JsonProperty(PropertyName = "protocol")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseConnectionString.ProtocolEnum? Protocol { get; set; }
Property Value
Type Description
DatabaseConnectionString.ProtocolEnum?

The protocol used to connect to the database.

Remarks

Required

Service

Declaration
[Required(ErrorMessage = "Service is required.")]
[JsonProperty(PropertyName = "service")]
public string Service { get; set; }
Property Value
Type Description
string

The service name of the database.

Remarks

Required

In this article
Back to top